Commit 482dcaa1 authored by Keoseong Park's avatar Keoseong Park Committed by Martin K. Petersen
Browse files

scsi: ufs: core: Remove wlun_dev_to_hba()

Commit edc0596c ("scsi: ufs: core: Stop clearing UNIT ATTENTIONS")
removed all callers of wlun_dev_to_hba(). Hence also remove the macro
itself.

Link: https://lore.kernel.org/r/1891546521.01644927481711.JavaMail.epsvc@epcpadp4


Reviewed-by: default avatarAlim Akhtar <alim.akhtar@samsung.com>
Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Signed-off-by: default avatarKeoseong Park <keosung.park@samsung.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 8264aee8
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;                                               \