Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1152580pxb; Thu, 24 Mar 2022 13:53:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDZ4GWHL8cIwXGWYUCspqqfOfrAEwyg7FbpGwVqI1Gs72/AuQ+zgkjI4PjU9ZjZSjAJIaw X-Received: by 2002:a17:90b:4f44:b0:1c7:9f03:9b2d with SMTP id pj4-20020a17090b4f4400b001c79f039b2dmr10740764pjb.24.1648155199042; Thu, 24 Mar 2022 13:53:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648155199; cv=none; d=google.com; s=arc-20160816; b=uLXlNvUSRy3zKQKRt0YHhNvXFO35EbmE4zREmR2WPJ8QZgQtpwgRyfVcpZBCmUuG4h MjhT4TFqMfD9lu7Ch02+c3kNPQBP8QDYroRytFBKthETPZzi80fBPA+e+XM29b1hcWpv uMr7ArL9l1fK5tnYzIMCJMI6qUcdvk2SLJkmMv9q2PknI2WaBKvQWLG8GzF9xkqSQqrl QAtDXndw0GarJzer5fxXg1xSbdowDE2puXVjvlE9Asl8ZVJb3usNyYsMxvohFw1Fx/FO gMuJofhgSTDbdXLxe9EnuxxxzvxtkaQPVSJVDLrx1aUPoJ7PZAzlKypeLWUmB+o2bYKb T7zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:content-transfer-encoding:date :message-id:to:from:sender:reply-to:subject:mime-version :dkim-signature:dkim-filter; bh=ffNIsUV0dGzaaQ3R/vm5F/lFr5vlgbrv3cLPh72mp0M=; b=Xvv3G89LygXbnTTt4sKVgRn3KvybMIQbshPcsJdntg9WZPqDSS5O0FNmquj0BHCHPj pSm7M5FY1acensa3DkgSLsCfnRid2wbdUkK4YptiPdC6Dg8vYo4PTbzQPRZdgXvY/Jsb moRD56yLme7LHIUK3SMuzUvxKdhzRau++cFi3gIGYikWhH5x/vNhvNq3MoRsCIIEJtjI yttsO17oWi+6WBBGRW310m1Z65fUJCsgeBHw2ReazPdVEBAZGYuzzOR2H9IYr/jHr7MJ rb5yG1Gqd0vtOU75802PDAeARq6m+rfOFR96+KJLfHDuwet3Ylczup89iMGhVAidZ7HF yXcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=PhPMcQoY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j12-20020a63230c000000b003816043f0f1si332579pgj.742.2022.03.24.13.53.05; Thu, 24 Mar 2022 13:53:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=PhPMcQoY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347151AbiCXHJm (ORCPT + 99 others); Thu, 24 Mar 2022 03:09:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239320AbiCXHJi (ORCPT ); Thu, 24 Mar 2022 03:09:38 -0400 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B197167FC for ; Thu, 24 Mar 2022 00:08:06 -0700 (PDT) Received: from epcas3p1.samsung.com (unknown [182.195.41.19]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20220324070804epoutp04d9bff6c1707b9e5b7207ffe39cfa659d~fP2NKuMRN0876608766epoutp04w for ; Thu, 24 Mar 2022 07:08:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20220324070804epoutp04d9bff6c1707b9e5b7207ffe39cfa659d~fP2NKuMRN0876608766epoutp04w DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1648105684; bh=ffNIsUV0dGzaaQ3R/vm5F/lFr5vlgbrv3cLPh72mp0M=; h=Subject:Reply-To:From:To:Date:References:From; b=PhPMcQoYm/J1/tENWR2tnP6STywWdlSknKCRHh3YP7FlsGLAAMLF+btb+4pdbsfta 3F/HLQxg1QFy4S6XXc2aEdfM62M9oeU3+EuyRQAsfsFmCGRrHXhmqT03V6oPQATvo3 9lZZUeYpHbPyPs5LqQXq3a2gyDRBueBH9CBhC5sA= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas3p4.samsung.com (KnoxPortal) with ESMTP id 20220324070803epcas3p4a9b366231c0c91cffac1cc571a4f917b~fP2Mqlbk21705917059epcas3p4-; Thu, 24 Mar 2022 07:08:03 +0000 (GMT) Received: from epcpadp4 (unknown [182.195.40.18]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4KPGX35N54z4x9QT; Thu, 24 Mar 2022 07:08:03 +0000 (GMT) Mime-Version: 1.0 Subject: [PATCH] scsi: ufs: core: Remove unused field in struct ufs_hba Reply-To: keosung.park@samsung.com Sender: Keoseong Park From: Keoseong Park To: ALIM AKHTAR , "avri.altman@wdc.com" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "bvanassche@acm.org" , "beanhuo@micron.com" , Daejun Park , "adrian.hunter@intel.com" , Keoseong Park , "cang@codeaurora.org" , "asutoshd@codeaurora.org" , "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: <413601558.101648105683746.JavaMail.epsvc@epcpadp4> Date: Thu, 24 Mar 2022 16:01:46 +0900 X-CMS-MailID: 20220324070146epcms2p577d43ce3e7cbd36aa964f3842e49b2ba Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL X-CPGSPASS: Y X-CPGSPASS: Y X-Hop-Count: 3 X-CMS-RootMailID: 20220324070146epcms2p577d43ce3e7cbd36aa964f3842e49b2ba References: X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unused field "rpm_lvl_attr" and "spm_lvl_attr" in struct ufs_hba. Commit cbb6813ee771 ("scsi: ufs: sysfs: attribute group for existing sysfs entries.") removed all code using that field. Signed-off-by: Keoseong Park --- drivers/scsi/ufs/ufshcd.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/scsi/ufs/ufshcd.h b/drivers/scsi/ufs/ufshcd.h index 88c20f3608c2..94f545be183a 100644 --- a/drivers/scsi/ufs/ufshcd.h +++ b/drivers/scsi/ufs/ufshcd.h @@ -820,8 +820,6 @@ struct ufs_hba { enum ufs_pm_level rpm_lvl; /* Desired UFS power management level during system PM */ enum ufs_pm_level spm_lvl; - struct device_attribute rpm_lvl_attr; - struct device_attribute spm_lvl_attr; int pm_op_in_progress; /* Auto-Hibernate Idle Timer register value */ -- 2.17.1