public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Alim Akhtar" <alim.akhtar@samsung.com>
To: <keosung.park@samsung.com>, <avri.altman@wdc.com>,
	<jejb@linux.ibm.com>, <martin.petersen@oracle.com>,
	<bvanassche@acm.org>, <beanhuo@micron.com>, <cang@codeaurora.org>,
	<adrian.hunter@intel.com>, <asutoshd@codeaurora.org>,
	<linux-scsi@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: RE: [PATCH] scsi: ufs: Remove wlun_dev_to_hba()
Date: Tue, 15 Feb 2022 21:51:32 +0530	[thread overview]
Message-ID: <057401d82288$19a74980$4cf5dc80$@samsung.com> (raw)
In-Reply-To: <1891546521.01644927481711.JavaMail.epsvc@epcpadp4>



>-----Original Message-----
>From: Keoseong Park [mailto:keosung.park@samsung.com]
>Sent: Tuesday, February 15, 2022 5:10 PM
>To: ALIM AKHTAR <alim.akhtar@samsung.com>; avri.altman@wdc.com;
>jejb@linux.ibm.com; martin.petersen@oracle.com; bvanassche@acm.org;
>beanhuo@micron.com; cang@codeaurora.org; adrian.hunter@intel.com;
>asutoshd@codeaurora.org; linux-scsi@vger.kernel.org; linux-
>kernel@vger.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@samsung.com>
>---


Thanks!

Reviewed-by: Alim Akhtar <alim.akhtar@samsung.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



  reply	other threads:[~2022-02-15 16:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20220215114002epcms2p1eb4e53507c96e0f24770af16aedcf5c6@epcms2p1>
2022-02-15 11:40 ` [PATCH] scsi: ufs: Remove wlun_dev_to_hba() Keoseong Park
2022-02-15 16:21   ` Alim Akhtar [this message]
2022-02-15 17:06   ` Bart Van Assche
2022-02-19 22:13   ` Martin K. Petersen
2022-02-28  3:43   ` Martin K. Petersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='057401d82288$19a74980$4cf5dc80$@samsung.com' \
    --to=alim.akhtar@samsung.com \
    --cc=adrian.hunter@intel.com \
    --cc=asutoshd@codeaurora.org \
    --cc=avri.altman@wdc.com \
    --cc=beanhuo@micron.com \
    --cc=bvanassche@acm.org \
    --cc=cang@codeaurora.org \
    --cc=jejb@linux.ibm.com \
    --cc=keosung.park@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox