[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <057401d82288$19a74980$4cf5dc80$@samsung.com>
Date: Tue, 15 Feb 2022 21:51:32 +0530
From: "Alim Akhtar" <alim.akhtar@...sung.com>
To: <keosung.park@...sung.com>, <avri.altman@....com>,
<jejb@...ux.ibm.com>, <martin.petersen@...cle.com>,
<bvanassche@....org>, <beanhuo@...ron.com>, <cang@...eaurora.org>,
<adrian.hunter@...el.com>, <asutoshd@...eaurora.org>,
<linux-scsi@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] scsi: ufs: Remove wlun_dev_to_hba()
>-----Original Message-----
>From: Keoseong Park [mailto:keosung.park@...sung.com]
>Sent: Tuesday, February 15, 2022 5:10 PM
>To: ALIM AKHTAR <alim.akhtar@...sung.com>; avri.altman@....com;
>jejb@...ux.ibm.com; martin.petersen@...cle.com; bvanassche@....org;
>beanhuo@...ron.com; cang@...eaurora.org; adrian.hunter@...el.com;
>asutoshd@...eaurora.org; linux-scsi@...r.kernel.org; linux-
>kernel@...r.kernel.org
>Subject: [PATCH] scsi: ufs: Remove wlun_dev_to_hba()
>
>Commit edc0596cc04b ("scsi: ufs: core: Stop clearing UNIT ATTENTIONS")
>removed all callers of wlun_dev_to_hba(). Hence also remove the macro
>itself.
>
>Signed-off-by: Keoseong Park <keosung.park@...sung.com>
>---
Thanks!
Reviewed-by: Alim Akhtar <alim.akhtar@...sung.com>
> drivers/scsi/ufs/ufshcd.c | 2 --
> 1 file changed, 2 deletions(-)
>
>diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index
>41d85b69fa50..1243d73d669b 100644
>--- a/drivers/scsi/ufs/ufshcd.c
>+++ b/drivers/scsi/ufs/ufshcd.c
>@@ -83,8 +83,6 @@
> /* Polling time to wait for fDeviceInit */ #define
>FDEVICEINIT_COMPL_TIMEOUT 1500 /* millisecs */
>
>-#define wlun_dev_to_hba(dv) shost_priv(to_scsi_device(dv)->host)
>-
> #define ufshcd_toggle_vreg(_dev, _vreg, _on)
> \
> ({ \
> int _ret; \
>--
>2.17.1
Powered by blists - more mailing lists