From patchwork Tue Oct 3 15:21:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 9983121 Return-Path: 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 E52AC602B8 for ; Tue, 3 Oct 2017 15:29:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D81FC28649 for ; Tue, 3 Oct 2017 15:29:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CD34928897; Tue, 3 Oct 2017 15:29:45 +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=unavailable 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 9506828649 for ; Tue, 3 Oct 2017 15:29:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752191AbdJCP3T (ORCPT ); Tue, 3 Oct 2017 11:29:19 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:27072 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751773AbdJCP3O (ORCPT ); Tue, 3 Oct 2017 11:29:14 -0400 Received: from epcas2p1.samsung.com (unknown [182.195.41.53]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20171003152913epoutp0231484365128d36bc8258dad55b136e5d~qGQlLc6GR0089000890epoutp02O; Tue, 3 Oct 2017 15:29:13 +0000 (GMT) Received: from epsmges2p1.samsung.com (unknown [182.195.42.69]) by epcas2p2.samsung.com (KnoxPortal) with ESMTP id 20171003152912epcas2p2b953066b07db80b921a3dfab2f7a162f~qGQkhPuVV2861528615epcas2p2A; Tue, 3 Oct 2017 15:29:12 +0000 (GMT) Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p1.samsung.com (Symantec Messaging Gateway) with SMTP id 20.54.04232.8CCA3D95; Wed, 4 Oct 2017 00:29:12 +0900 (KST) Received: from epsmgms2p2new.samsung.com (unknown [182.195.42.143]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20171003152911epcas2p31ec5c2819836a1999ce41555f72aeca6~qGQjqcVaF2236722367epcas2p3K; Tue, 3 Oct 2017 15:29:11 +0000 (GMT) X-AuditID: b6c32a45-d3bff70000001088-3b-59d3acc844d6 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p2new.samsung.com (Symantec Messaging Gateway) with SMTP id 33.0E.06856.7CCA3D95; Wed, 4 Oct 2017 00:29:11 +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:11 +0900 (KST) From: Alim Akhtar 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 3/4] scsi: ufs: Remove unused #defines Date: Tue, 03 Oct 2017 20:51:24 +0530 Message-id: <1507044085-16905-3-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+NgFlrHIsWRmVeSWpSXmKPExsWy7bCmue6JNZcjDa7e5LO49OcLo8XlXXPY LLqv72CzWH78H5PFjcU72Sx2LKxyYPO43NfL5LFz1l12j49Pb7F4fN4k59F+oJspgDWKyyYl NSezLL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4uZp7AyLOAkWEVo2RqQXFu em6xUYFRXmq5XnFibnFpXrpecn7uJkZg4Gw7rNW/g/HxkvhDjAIcjEo8vDcmXI4UYk0sK67M PcQowcGsJMK7bgVQiDclsbIqtSg/vqg0J7X4EKM0B4uSOC9//rFIIYH0xJLU7NTUgtQimCwT B6dUA6NI6NyJLcVeSpw7btix6sbOeKrqEPrgxnP9IuFXmudvmaTH9rP+6I5hXjN1rqrXj9kW sxj4fSR5G5jzZW/6M9/r8Zi9us/KeW3XsUkX53NGbV5W8qbKUtnixpyzB2d9sNNJfbFjUdLj 1+cftk2a+I1rlsJzp4mlry/9W5lyjvf4K+F3niyKu14osRRnJBpqMRcVJwIAOQXs1xgCAAA= X-CMS-MailID: 20171003152911epcas2p31ec5c2819836a1999ce41555f72aeca6 X-Msg-Generator: CA X-Sender-IP: 182.195.42.143 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: 102P X-CMS-RootMailID: 20171003152911epcas2p31ec5c2819836a1999ce41555f72aeca6 X-RootMTR: 20171003152911epcas2p31ec5c2819836a1999ce41555f72aeca6 References: <1507044085-16905-1-git-send-email-alim.akhtar@samsung.com> Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP HOST_ERROR_INDICATOR and DEVICE_ERROR_INDICATOR are not used anywhere. Also as per JESD223C specification, bit[7:4] are reserved. Lets remove these #defines. Signed-off-by: Alim Akhtar Reviewed-by: Bart Van Assche --- drivers/scsi/ufs/ufshci.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/scsi/ufs/ufshci.h b/drivers/scsi/ufs/ufshci.h index 0d78ed3..dec0420 100644 --- a/drivers/scsi/ufs/ufshci.h +++ b/drivers/scsi/ufs/ufshci.h @@ -159,8 +159,6 @@ enum { #define UTP_TRANSFER_REQ_LIST_READY 0x2 #define UTP_TASK_REQ_LIST_READY 0x4 #define UIC_COMMAND_READY 0x8 -#define HOST_ERROR_INDICATOR UFS_BIT(4) -#define DEVICE_ERROR_INDICATOR UFS_BIT(5) #define UIC_POWER_MODE_CHANGE_REQ_STATUS_MASK UFS_MASK(0x7, 8) #define UFSHCD_STATUS_READY (UTP_TRANSFER_REQ_LIST_READY |\