Message ID | 1507044085-16905-4-git-send-email-alim.akhtar@samsung.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-scsi-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 30B49602B8 for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 3 Oct 2017 15:29:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 20A1828649 for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 3 Oct 2017 15:29:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 14FDA2865F; Tue, 3 Oct 2017 15:29:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id AA04C28649 for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 3 Oct 2017 15:29:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752248AbdJCP3U (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Tue, 3 Oct 2017 11:29:20 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:25521 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752162AbdJCP3P (ORCPT <rfc822; linux-scsi@vger.kernel.org>); Tue, 3 Oct 2017 11:29:15 -0400 Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20171003152913epoutp04a21eb0c016d0b6d175d834710d3579b6~qGQljpgRk0276602766epoutp04h; Tue, 3 Oct 2017 15:29:13 +0000 (GMT) Received: from epsmges1p1.samsung.com (unknown [182.195.42.53]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20171003152913epcas1p2acec79046fdd88489cdbe024618dc05d~qGQlc8RTc1965919659epcas1p2r; Tue, 3 Oct 2017 15:29:13 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p1.samsung.com (Symantec Messaging Gateway) with SMTP id D2.C0.04439.9CCA3D95; Wed, 4 Oct 2017 00:29:13 +0900 (KST) Received: from epsmgms2p1new.samsung.com (unknown [182.195.42.142]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20171003152912epcas1p442acf97496d1473907d6d73b7c51aa82~qGQkv9q683190131901epcas1p4c; Tue, 3 Oct 2017 15:29:12 +0000 (GMT) X-AuditID: b6c32a35-8adff70000001157-86-59d3acc9a9fd Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 59.FF.06995.8CCA3D95; Wed, 4 Oct 2017 00:29:12 +0900 (KST) Received: from exypnos.sisodomain.com ([107.108.73.28]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OX9009P670EU180@mmp1.samsung.com>; Wed, 04 Oct 2017 00:29:12 +0900 (KST) 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 v2 4/4] scsi: ufs: Remove unused UFS_BIT() macro Date: Tue, 03 Oct 2017 20:51:25 +0530 Message-id: <1507044085-16905-4-git-send-email-alim.akhtar@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1507044085-16905-1-git-send-email-alim.akhtar@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrDIsWRmVe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XXlIDVsAtoSd6dvYQKxRQRsJM7ffABmMwtkSpzecYwZxBYWcJA49+YwO4jNIqAq sf7qJzYQm1fAXeLC2QvMELvkJG6e6wSzOQU8JC5tmskIYgsB1TT8XMw8gZFnASPDKkbJ1ILi 3PTcYqMCw7zUcr3ixNzi0rx0veT83E2MwLDZdlirbwfj/SXxhxgFOBiVeHhvTLgcKcSaWFZc mXuIUYKDWUmEd90KoBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHe23nHIoUE0hNLUrNTUwtSi2Cy TBycUg2MSe9VEmfyrpLZ9PT7l6ybG1xzrnB5Lyi0eneezepYoWCRyXwv/ancU05yR3u+evr0 WwGLm3lZGOvRr+Xb08511pvWbC/x8rXYzyjfeXmZQcrX2x9Zzt+UNNQT2/WOK6RXn8d5k5KC lu5+IZ5HPrFLF+QaMsqInFqQqSwofqlkxq6EtRaJZSeVWIozEg21mIuKEwGaymUWFwIAAA== X-CMS-MailID: 20171003152912epcas1p442acf97496d1473907d6d73b7c51aa82 X-Msg-Generator: CA X-Sender-IP: 182.195.42.142 X-Local-Sender: =?UTF-8?B?7JWM66a8G1NTSVItRkRTIFNXG+yCvOyEseyghOyekBsuL1Nl?= =?UTF-8?B?bmlvciBDaGllZiBFbmdpbmVlcg==?= X-Global-Sender: =?UTF-8?B?QUxJTSBBS0hUQVIbU1NJUi1GRFMgU1cbU2Ftc3VuZyBFbGVj?= =?UTF-8?B?dHJvbmljcxsuL1NlbmlvciBDaGllZiBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG1NXQUhRG0MxMElEMDdJRDAxMDk5Nw==?= CMS-TYPE: 101P X-CMS-RootMailID: 20171003152912epcas1p442acf97496d1473907d6d73b7c51aa82 X-RootMTR: 20171003152912epcas1p442acf97496d1473907d6d73b7c51aa82 References: <1507044085-16905-1-git-send-email-alim.akhtar@samsung.com> <CGME20171003152912epcas1p442acf97496d1473907d6d73b7c51aa82@epcas1p4.samsung.com> Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
On Tue, 2017-10-03 at 20:51 +0530, Alim Akhtar wrote: > Since we have converted all the user of UFS_BIT() macro > with the actual bit position, let remove unused UFS_BIT()macro. Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
diff --git a/drivers/scsi/ufs/ufshci.h b/drivers/scsi/ufs/ufshci.h index dec0420..277752b 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 */
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> --- drivers/scsi/ufs/ufshci.h | 2 -- 1 file changed, 2 deletions(-)