Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1742534
| From | Alim Akhtar <alim.akhtar@samsung.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 3/3] scsi: ufs: Remove unused UFS_BIT() macro |
| Date | 2017-09-30 08:40 +0200 |
| Message-ID | <uvjBo-uO-17@gated-at.bofh.it> (permalink) |
| References | <uvjBo-uO-13@gated-at.bofh.it> <uvjBo-uO-19@gated-at.bofh.it> <uvjBo-uO-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Since we have coverted 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>
---
drivers/scsi/ufs/ufshci.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/scsi/ufs/ufshci.h b/drivers/scsi/ufs/ufshci.h
index 5a60a8f..c51fa6d 100644
--- a/drivers/scsi/ufs/ufshci.h
+++ b/drivers/scsi/ufs/ufshci.h
@@ -119,7 +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
*/
--
2.7.4
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/3] scsi: ufs: Change HCI marco to actual bit position Alim Akhtar <alim.akhtar@samsung.com> - 2017-09-30 08:40 +0200 [PATCH 3/3] scsi: ufs: Remove unused UFS_BIT() macro Alim Akhtar <alim.akhtar@samsung.com> - 2017-09-30 08:40 +0200 Re: [PATCH 1/3] scsi: ufs: Change HCI marco to actual bit position Bart Van Assche <Bart.VanAssche@wdc.com> - 2017-10-02 22:50 +0200
csiph-web