Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4009217ybc; Thu, 21 Nov 2019 17:52:14 -0800 (PST) X-Google-Smtp-Source: APXvYqzFXOM1wSDVpKX/gUobA4JxTEZJFD0un3GOMHA89uWBhSoLTbZ3B04rN5xK6HL0htqI77eV X-Received: by 2002:a17:906:bfe3:: with SMTP id vr3mr18017611ejb.273.1574387534252; Thu, 21 Nov 2019 17:52:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574387534; cv=none; d=google.com; s=arc-20160816; b=pxSoMkaQKS9L02vuq5iKgkq6MbQD5FwX3LpRzNT4bbZhwVmcvInO58cLw9z2lTRj1X pGUPZbaYvi8feqLQBVx4Yo3Ln34N1EJtvDjFDxspT9PEHXH896dfvzJJTx3+mLHAn8wR SLXINfN412Su+uwhLYKPnDB2y1FD+oA+nx0IIQDIIvs3tyD3gT34wwPP0Tuqrgs5WLUJ AbhfQWWGaFH4u6X7iM/NEfCSLFBAZNFwGLtBYp5J+zp6af6hr4Bgajfy5BE8N6ndgFSb Lmxx6vn0gbpidzRXr3TUX3M7uCofCQJhPs2/++ByLlJgUWm+uoRRnw/KzpXQAAcfTkeM Chjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:organization:from:subject:cc:to :dkim-signature; bh=SNgm4BbWhnsLzBcjJXaM8if4RgmU/BKYbkviXRJN6FA=; b=iAqTTh8hDkq2LmjNrffV3mNKi6SkhxT0fZCQgHb6YAOdSDzxNuWAGuxH8iPzunSwJO rg5uq4b9jTq5F+cTQ6/t2Jtza8lfOuvxKwOtsTaG/fS2ys8GmfrX0rXgzIxEqKrooCuf RSuK1txl+eakbAl2mFQ3aijpP2f7TiNttndgsY7vUq1O71bZjJh3iFlI9Kwa/wIhSoLi iVPqlMcIvzGJQxbfe7o/0XEPWZUr+1cvFQIdwf09fpleOWcywxrtZa5ZI2CLsSvpbnbH e7sUdnM03HE08dxFBMsNpPhq+A6USoIbnvVroBGitfNnJzu62oqmxvyfPIash8ZrPOba xnAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=EhbyVJD2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a27si4023511edm.187.2019.11.21.17.51.48; Thu, 21 Nov 2019 17:52:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=EhbyVJD2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726613AbfKVBsk (ORCPT + 99 others); Thu, 21 Nov 2019 20:48:40 -0500 Received: from userp2130.oracle.com ([156.151.31.86]:48770 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726265AbfKVBsk (ORCPT ); Thu, 21 Nov 2019 20:48:40 -0500 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xAM1iFCO128056; Fri, 22 Nov 2019 01:48:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : references : date : in-reply-to : message-id : mime-version : content-type; s=corp-2019-08-05; bh=SNgm4BbWhnsLzBcjJXaM8if4RgmU/BKYbkviXRJN6FA=; b=EhbyVJD29S1QcUxkvgTBPwhpFNNvDM6uhZUcBWGjxVBg39B3WlJ2SqjWTSV9YozawQ+u wvsGDhprVEd1gXWORWkk5XPRgO/NkvGWMrRxSzoRASoSePzEO6MuPKmBSPvNpN+Ewqme ma/oF8jioOHb+BzfDSvxOZ1O81C3cAcAKgCw8cVJzBv1pUoVD9GhhxcS0xieLWQx5p0E UUgNqDSXqWVOpAfKxt6cCkTooDN9FKVXT/4yv/kBujUcSwQMH+lRYVBunmLEC6GDUoPU mLz1EGunv28I8Wqn7IOxXUjsrjCywXFWv+DODr0F/ZrN2CAaYl13zxhmRT3CqWfKIC3c hg== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2130.oracle.com with ESMTP id 2wa8hu7vsf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 22 Nov 2019 01:48:35 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xAM1m2xr075618; Fri, 22 Nov 2019 01:48:34 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3030.oracle.com with ESMTP id 2wd47y0eas-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 22 Nov 2019 01:48:34 +0000 Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id xAM1mWvL018791; Fri, 22 Nov 2019 01:48:32 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 21 Nov 2019 17:48:31 -0800 To: Saurav Girepunje Cc: Tyrel Datwyler , mikecyr@linux.ibm.com, jejb@linux.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, target-devel@vger.kernel.org, linux-kernel@vger.kernel.org, saurav.girepunje@hotmail.com Subject: Re: [PATCH] scsi: ibmvscsi_tgt: Remove unneeded variable rc From: "Martin K. Petersen" Organization: Oracle Corporation References: <20191101120407.GA9369@saurav> <25de88a9-b013-f5cc-06c2-3efb1f3f0001@gmail.com> Date: Thu, 21 Nov 2019 20:48:29 -0500 In-Reply-To: <25de88a9-b013-f5cc-06c2-3efb1f3f0001@gmail.com> (Tyrel Datwyler's message of "Wed, 20 Nov 2019 17:11:12 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9448 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=957 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-1911220014 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9448 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-1911220013 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> Variable rc is not modified in ibmvscsis_srp_i_logout function. So >> remove unneeded variable rc. >> >> Issue found using coccicheck tool. >> >> Signed-off-by: Saurav Girepunje > > Reviewed-by: Tyrel Datwyler Applied to 5.5/scsi-queue, thanks. -- Martin K. Petersen Oracle Linux Engineering