Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp4369264pxk; Tue, 8 Sep 2020 19:11:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1e8ZfG//6WHMBDWPYk3szDhdr3Ysw2Hh2gjP9noqghl5+b2LmhnQDNmL44yd9lOYoVx+Y X-Received: by 2002:a05:6402:1356:: with SMTP id y22mr1872029edw.110.1599617496095; Tue, 08 Sep 2020 19:11:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599617496; cv=none; d=google.com; s=arc-20160816; b=aaKvCjJM7NBcmwMCuBR8SyzdLFmdTedfAhcz0HZgfVPZ9kVqanoF+BnxaAUxCpwd2O /5SbkBs8OSKpEycJIID0I40FsXEPUeYR1QNFI0oFBSh/VMV7CnjvHAchvDF5n8dkgX/T 3jzWmp3nqhDXSQXY2a9T5rvhBRRX2bHGsJxfnOJ4g5dFtIOgpoGYRdTOu05+6hHLtr7E B4beWfhrM/uvIIkyIRlZbNq5IWT6OdpmwNwld3yYBsRbND82/fFGYah6f/v2pv2jjgZu lkO7BtuZJbWn8gXAUC27klcn6/MEJAEg5e2/04775I68ndrO6PLKcTOlZPquoHyRcYmK Jdkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6NgdItGifg263VtiVoj0X7HUu+IzTiOvKxXduWy2avU=; b=ZSlSGcTLZySq5hIK8ExaBXa57ATmtZha1pk5s/YvcxNso5yumk3SnB742dwzqtvGBM ROUM4TLRgCxicwRV/5iLuj5JkR24y7RY2RJNxk6QOZxlQ4VW0arp5cBWljyYpNYwUVCe zoD5AFU1rdfkKojns9XhWzesMi7cQ8P7A1j5bcgHYgCiYmRno6LAXJjzYYWo1BWKu6Y2 gwlk8CpITSErRcpdmvKDld/bBijiFJF6ITBfnpSc6BNBjg+1qy8yf2QTUTifU7RaUUv2 /meQY+TpnVz8K17FG32+bimP7dGozLzHIhDNzQZYKzD0fKLE/38fLzfFezGH5+T4ShG4 u0qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=ZGkZ8nYr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id t12si735473edc.310.2020.09.08.19.11.14; Tue, 08 Sep 2020 19:11:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=ZGkZ8nYr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1729851AbgIICKE (ORCPT + 99 others); Tue, 8 Sep 2020 22:10:04 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:41708 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729691AbgIICJ4 (ORCPT ); Tue, 8 Sep 2020 22:09:56 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 08920mvP087228; Wed, 9 Sep 2020 02:09:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=6NgdItGifg263VtiVoj0X7HUu+IzTiOvKxXduWy2avU=; b=ZGkZ8nYrv771sNkTZOxvlKfx2jeSAKMAFzjqmMgBwk8yh5+dbO/S3So1AU5QqbI9Kh6c o1ekcf2kOYR7nzJjSvq3O+I/ENOKHm8Wv4iQznwvmUw9XGkDF/WhupzThJw+OQ4jXWE5 fDmM9ar2zfPdTBxUtwFAbaEv1febQSoR2QdWpLO6CLrUyfi4gzTvTeABE+y2G8IaZ3VY b4+QGXC++Ho43ZnmBAyREyrJh9PKP5aAmvDjYstYByIEOzmvZlCeUMxVyxegnAgK1QUL dNHybtb7JPg+zjyYYHQWmDWQyMh/x3t7/Ep+b73/dqi29OF54Gyiv3SPbkRZjwFryJ/z QQ== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 33c2mkxvn7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 09 Sep 2020 02:09:47 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 089252dV095279; Wed, 9 Sep 2020 02:09:47 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3020.oracle.com with ESMTP id 33cmk53f50-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 09 Sep 2020 02:09:47 +0000 Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 08929j1N022869; Wed, 9 Sep 2020 02:09:45 GMT Received: from ca-mkp.ca.oracle.com (/10.156.108.201) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 08 Sep 2020 19:09:45 -0700 From: "Martin K. Petersen" To: MPT-FusionLinux.pdl@broadcom.com, sathya.prakash@broadcom.com, sreekanth.reddy@broadcom.com, Jason Yan , suganath-prabu.subramani@broadcom.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: "Martin K . Petersen" , Hulk Robot Subject: Re: [PATCH] scsi: mptscsih: remove set but not used 'timeleft' Date: Tue, 8 Sep 2020 22:09:23 -0400 Message-Id: <159961731706.5787.1390939746459393484.b4-ty@oracle.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200827125925.428357-1-yanaijie@huawei.com> References: <20200827125925.428357-1-yanaijie@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9738 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 malwarescore=0 phishscore=0 mlxlogscore=980 bulkscore=0 adultscore=0 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009090018 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9738 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 priorityscore=1501 phishscore=0 adultscore=0 bulkscore=0 clxscore=1011 mlxlogscore=987 malwarescore=0 suspectscore=0 lowpriorityscore=0 spamscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009090017 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 27 Aug 2020 20:59:25 +0800, Jason Yan wrote: > This addresses the following gcc warning with "make W=1": > > drivers/message/fusion/mptscsih.c: In function ‘mptscsih_IssueTaskMgmt’: > drivers/message/fusion/mptscsih.c:1519:17: warning: variable ‘timeleft’ > set but not used [-Wunused-but-set-variable] > 1519 | unsigned long timeleft; > | ^~~~~~~~ Applied to 5.10/scsi-queue, thanks! [1/1] scsi: mptscsih: Remove set but not used 'timeleft' https://git.kernel.org/mkp/scsi/c/bef7afbf3bb6 -- Martin K. Petersen Oracle Linux Engineering