summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ufs/ufshci.h
diff options
context:
space:
mode:
authorAlim Akhtar <alim.akhtar@samsung.com>2017-10-03 17:21:25 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-10-11 19:44:31 +0200
commit395c81ad23f25ee68e234c6676f13d9cbce4a76e (patch)
tree79b86ac449abb878825c3861501a9fdadf22b6bb /drivers/scsi/ufs/ufshci.h
parentscsi: ufs: Remove unused #defines (diff)
downloadlinux-395c81ad23f25ee68e234c6676f13d9cbce4a76e.tar.xz
linux-395c81ad23f25ee68e234c6676f13d9cbce4a76e.zip
scsi: ufs: Remove unused UFS_BIT() macro
Since we have converted all the user of UFS_BIT() macro with the actual bit position, let remove unused UFS_BIT()macro. Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com> Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs/ufshci.h')
-rw-r--r--drivers/scsi/ufs/ufshci.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/ufs/ufshci.h b/drivers/scsi/ufs/ufshci.h
index dec04203d221..277752b0fc6f 100644
--- a/drivers/scsi/ufs/ufshci.h
+++ b/drivers/scsi/ufs/ufshci.h
@@ -119,8 +119,6 @@ enum {
#define MANUFACTURE_ID_MASK UFS_MASK(0xFFFF, 0)
#define PRODUCT_ID_MASK UFS_MASK(0xFFFF, 16)
-#define UFS_BIT(x) (1L << (x))
-
/*
* IS - Interrupt Status - 20h
*/