From patchwork Fri Jul 8 05:20:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keoseong Park X-Patchwork-Id: 12910580 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4FD63C433EF for ; Fri, 8 Jul 2022 05:20:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237151AbiGHFUO (ORCPT ); Fri, 8 Jul 2022 01:20:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236692AbiGHFUN (ORCPT ); Fri, 8 Jul 2022 01:20:13 -0400 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E66B3796B7 for ; Thu, 7 Jul 2022 22:20:10 -0700 (PDT) Received: from epcas2p3.samsung.com (unknown [182.195.41.55]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20220708052008epoutp0144dd3bafd7dcd0e0b213c57d8d360b6b~-wwOe7TFr1452114521epoutp015 for ; Fri, 8 Jul 2022 05:20:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20220708052008epoutp0144dd3bafd7dcd0e0b213c57d8d360b6b~-wwOe7TFr1452114521epoutp015 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1657257608; bh=nOxZzrylrICb5cSJNRTGIc8Z0MS3siru3oxGpCKZnJc=; h=Subject:Reply-To:From:To:Date:References:From; b=TZ3kMisxDnvPZZH79rWXRSa3mm0mVSDbsU+QlTzfrQuyheHVajnpbYA6+JTFpr6LC 4lSvyAlcysMQ8xHhFItq6t3fnW8hVojvAHGv8vNGBCel7UQNds0G4cNEl/ZtTzjZIQ sJbP88JqlDU/KyrWT+4VaL+Qhoj7QXjNzQIYN1LQ= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas2p3.samsung.com (KnoxPortal) with ESMTP id 20220708052007epcas2p3fc8c22e29a0d4dfd3fe23e0b2af423cf~-wwN22oZl2702827028epcas2p3L; Fri, 8 Jul 2022 05:20:07 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.36.99]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4LfM6b0bwkz4x9QX; Fri, 8 Jul 2022 05:20:07 +0000 (GMT) X-AuditID: b6c32a47-5e1ff700000025aa-ab-62c7be865554 Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id B0.68.09642.68EB7C26; Fri, 8 Jul 2022 14:20:06 +0900 (KST) Mime-Version: 1.0 Subject: [PATCH] scsi: ufs: core: Remove UIC_HIBERN8_ENTER_RETRIES Reply-To: keosung.park@samsung.com Sender: Keoseong Park From: Keoseong Park To: ALIM AKHTAR , "avri.altman@wdc.com" , "bvanassche@acm.org" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "beanhuo@micron.com" , Daejun Park , "adrian.hunter@intel.com" , "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" X-Priority: 3 X-Content-Kind-Code: NORMAL X-CPGS-Detection: blocking_info_exchange X-Drm-Type: N,general X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Message-ID: <20220708052006epcms2p2d1129dbf95fd77f46906200ccb0a9ccd@epcms2p2> Date: Fri, 08 Jul 2022 14:20:06 +0900 X-CMS-MailID: 20220708052006epcms2p2d1129dbf95fd77f46906200ccb0a9ccd X-Sendblock-Type: AUTO_CONFIDENTIAL X-CPGSPASS: Y X-CPGSPASS: Y CMS-TYPE: 102P X-Brightmail-Tracker: H4sIAAAAAAAAA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YLHr/lcdi2aKGbMkHDJq2n0W966qKJwd2tRoq3l1nJ25yyung hVkcLnd9lx9bt0zjbQiD1b4jaRxrDc33yx1YOfkY+9HNiRn6F5qeGTCJqt3L/tZ9PNk5aMn6 04a9P5h6Nr7ZUvFzZ6t//77gvUdEDrJLCvdPnq2lxFKckWioxVxUnAgANd23LTsEAAA= DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220708052006epcms2p2d1129dbf95fd77f46906200ccb0a9ccd References: Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org Commit 4db7a2360597 ("scsi: ufs: Fix concurrency of error handler and other error recovery paths") removed all callers of UIC_HIBERN8_ENTER_RETRIES. Hence also remove the macro itself. Signed-off-by: Keoseong Park Reviewed-by: Avri Altman --- drivers/ufs/core/ufshcd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c index 1d3214e6b364..f6b36d2bfa21 100644 --- a/drivers/ufs/core/ufshcd.c +++ b/drivers/ufs/core/ufshcd.c @@ -64,9 +64,6 @@ /* maximum number of link-startup retries */ #define DME_LINKSTARTUP_RETRIES 3 -/* Maximum retries for Hibern8 enter */ -#define UIC_HIBERN8_ENTER_RETRIES 3 - /* maximum number of reset retries before giving up */ #define MAX_HOST_RESET_RETRIES 5