Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp61969pxb; Tue, 15 Feb 2022 08:28:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJyma7hsb7PLkQNWzyeaswfqyJcdkPpr2Y23yKy/s+KX8gjsZjWxodzm10JcI/2ycdTeQ9GI X-Received: by 2002:a05:6402:23a7:: with SMTP id j39mr4689067eda.317.1644942504804; Tue, 15 Feb 2022 08:28:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644942504; cv=none; d=google.com; s=arc-20160816; b=OwWRmbiQkFnkfX/1mDMkCK5OgAAvRWz4NHr6ZoKi84tSh/hXxoXxtsuvLEKOUeMiYi B+G5W3VbVhLb9yF2CDg0uRc+R5wtLaVW9QNh/aCZXpYe09sracY+As3Cic2y8reqt+9A 9ByXtFLMIRatjqtsAn4XJcOcHE+iKCcwEFnfNZMJO0yUacUBmpt0DnDzDn3PpRxa6rD+ 6U7FHwKun7H+7ojKSGtGzNiu6J5alD4ckId5Rs9f/WAFWT8sH8CEkvbuQc6onfi9yJ4F Bv017CBJUUQXZdE4PhNJq2xdrMjpo/SRAql1MmfdsL5zw+AwRT/+T6Jdzr/LrLsjfIOD HHCw== 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=gFH/O+Wwc4cOaRG+Ce3cxW3yMZxYDCdcbdpfz+GoqEI=; b=k2+hY8vtKtE3FhXYBUG/c8hjz0rQqGAPG0CYlT649C8+PQmtmvVkVwGBh4K1m/43gs 99ikieevrP+TRbElMoVaPa1S7NDkqKsfKKOgZTO0yH++CBgnS9kKe9/k5BLYw9l9Vw0l VK7q2HTayDsgF+kcFntgdkg4CGvm9V9rCn5c5gQ63G6aOCxQUnWrwfK/I656qq+EN0z9 3bd65UUeTcvAkMmpahCWuJ9qu96Oxg8gKGv+Ka2HhsCs5f1UrpKe75Pc3aigagGGQtVD /t77ZpOT6tSm6COMuv4OaYIGLpJSbC5ntyVZQadR9WsSsCgvNFadTGx3dhZnC57u8mQy 13IQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=jXCJwOE5; 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 ga11si16234548ejc.284.2022.02.15.08.27.57; Tue, 15 Feb 2022 08:28:24 -0800 (PST) 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=jXCJwOE5; 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 S234814AbiBOMZh (ORCPT + 99 others); Tue, 15 Feb 2022 07:25:37 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:34546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232191AbiBOMZg (ORCPT ); Tue, 15 Feb 2022 07:25:36 -0500 X-Greylist: delayed 437 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 15 Feb 2022 04:25:25 PST Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98489107AA9 for ; Tue, 15 Feb 2022 04:25:25 -0800 (PST) Received: from epcas3p2.samsung.com (unknown [182.195.41.20]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20220215121802epoutp0224e8823b84944bcaceac18e348d4ebcc~T9NR5_Vfw1394113941epoutp02R for ; Tue, 15 Feb 2022 12:18:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20220215121802epoutp0224e8823b84944bcaceac18e348d4ebcc~T9NR5_Vfw1394113941epoutp02R DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1644927482; bh=gFH/O+Wwc4cOaRG+Ce3cxW3yMZxYDCdcbdpfz+GoqEI=; h=Subject:Reply-To:From:To:Date:References:From; b=jXCJwOE5sTQnteFunbis4gvquuLY4r+Fc++uZfECXWhSZHbCjnx8iKJaya1fe8GQC WHqo4O6+qGPL7R8IjRF8aarMdqH5xsKCAjMxctUdpR5s9Mg6BYICwUTccQCglkCUey wRoqw01oQUGub6pazRizoou1csXo6U4rEnpMovUM= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas3p2.samsung.com (KnoxPortal) with ESMTP id 20220215121801epcas3p2104ee63750619de84afdcdec064da235~T9NRYlWeI1114711147epcas3p2X; Tue, 15 Feb 2022 12:18:01 +0000 (GMT) Received: from epcpadp4 (unknown [182.195.40.18]) by epsnrtp1.localdomain (Postfix) with ESMTP id 4Jyg8n5CJLz4x9Pp; Tue, 15 Feb 2022 12:18:01 +0000 (GMT) Mime-Version: 1.0 Subject: [PATCH] scsi: ufs: Remove wlun_dev_to_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" , "cang@codeaurora.org" , "adrian.hunter@intel.com" , "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: <1891546521.01644927481711.JavaMail.epsvc@epcpadp4> Date: Tue, 15 Feb 2022 20:40:02 +0900 X-CMS-MailID: 20220215114002epcms2p1eb4e53507c96e0f24770af16aedcf5c6 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: 20220215114002epcms2p1eb4e53507c96e0f24770af16aedcf5c6 References: X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 Commit edc0596cc04b ("scsi: ufs: core: Stop clearing UNIT ATTENTIONS") removed all callers of wlun_dev_to_hba(). Hence also remove the macro itself. Signed-off-by: Keoseong Park --- drivers/scsi/ufs/ufshcd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c index 41d85b69fa50..1243d73d669b 100644 --- a/drivers/scsi/ufs/ufshcd.c +++ b/drivers/scsi/ufs/ufshcd.c @@ -83,8 +83,6 @@ /* Polling time to wait for fDeviceInit */ #define FDEVICEINIT_COMPL_TIMEOUT 1500 /* millisecs */ -#define wlun_dev_to_hba(dv) shost_priv(to_scsi_device(dv)->host) - #define ufshcd_toggle_vreg(_dev, _vreg, _on) \ ({ \ int _ret; \ -- 2.17.1