From: Alim Akhtar <alim.akhtar@samsung.com>
To: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: vinholikatti@gmail.com, martin.petersen@oracle.com,
subhashj@codeaurora.org, Bart.VanAssche@wdc.com
Subject: [PATCH 3/3] scsi: ufs: Remove unused UFS_BIT() macro
Date: Sat, 30 Sep 2017 11:52:06 +0530 [thread overview]
Message-ID: <1506752526-27014-3-git-send-email-alim.akhtar@samsung.com> (raw)
In-Reply-To: <1506752526-27014-1-git-send-email-alim.akhtar@samsung.com>
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
next prev parent reply other threads:[~2017-09-30 6:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20170930062956epcas1p1461ea07e21a275a9e5733b3b90b5896a@epcas1p1.samsung.com>
2017-09-30 6:22 ` [PATCH 1/3] scsi: ufs: Change HCI marco to actual bit position Alim Akhtar
[not found] ` <CGME20170930062957epcas2p3ccba5b5b7614eed0e63b7a8424531022@epcas2p3.samsung.com>
2017-09-30 6:22 ` [PATCH 2/3] scsi: ufs-qcom: Remove uses of UFS_BIT() macro Alim Akhtar
[not found] ` <CGME20170930062958epcas2p281a91f030037be81ef81c657ec6f81b2@epcas2p2.samsung.com>
2017-09-30 6:22 ` Alim Akhtar [this message]
2017-10-02 16:41 ` [PATCH 1/3] scsi: ufs: Change HCI marco to actual bit position Bart Van Assche
2017-10-03 8:28 ` Alim Akhtar
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=1506752526-27014-3-git-send-email-alim.akhtar@samsung.com \
--to=alim.akhtar@samsung.com \
--cc=Bart.VanAssche@wdc.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=subhashj@codeaurora.org \
--cc=vinholikatti@gmail.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
all inboxes | Powered by JetHome®