From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CDE7BC433F5 for ; Wed, 10 Nov 2021 17:48:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B7F4C61002 for ; Wed, 10 Nov 2021 17:48:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232741AbhKJRut (ORCPT ); Wed, 10 Nov 2021 12:50:49 -0500 Received: from so254-9.mailgun.net ([198.61.254.9]:37949 "EHLO so254-9.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232774AbhKJRuY (ORCPT ); Wed, 10 Nov 2021 12:50:24 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1636566456; h=Content-Transfer-Encoding: Content-Type: In-Reply-To: From: References: Cc: To: Subject: MIME-Version: Date: Message-ID: Sender; bh=S4WIOigMytz/JsCFAZqiYWkunHu0srz6nxNjM5paLzU=; b=Hc0ZmPteBO/g3lK5ciPkaWPGEZREFRvSoS6hTpYFOQI7IC/FTNgIM79IZh1Wa3f8W2klI1OB aruVYlufchmzShMnQY+0wVe8OzHGiHA4mAz2WbAxORbbWADcsRA0DTxIOVKkL5BlIoCSsfgj 61gV2oF3+NK3FHvABKE6r3b0H+A= X-Mailgun-Sending-Ip: 198.61.254.9 X-Mailgun-Sid: WyJlNmU5NiIsICJsaW51eC1zY3NpQHZnZXIua2VybmVsLm9yZyIsICJiZTllNGEiXQ== Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n05.prod.us-west-2.postgun.com with SMTP id 618c05a2335d9047e1507ce0 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Wed, 10 Nov 2021 17:47:14 GMT Sender: asutoshd=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id C3B03C43616; Wed, 10 Nov 2021 17:47:13 +0000 (UTC) Received: from [192.168.1.3] (cpe-66-27-70-157.san.res.rr.com [66.27.70.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: asutoshd) by smtp.codeaurora.org (Postfix) with ESMTPSA id EF01DC4338F; Wed, 10 Nov 2021 17:47:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 smtp.codeaurora.org EF01DC4338F Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=codeaurora.org Message-ID: Date: Wed, 10 Nov 2021 09:47:10 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: [PATCH 02/11] scsi: ufs: Remove is_rpmb_wlun() To: Bart Van Assche , "Martin K . Petersen" Cc: linux-scsi@vger.kernel.org, Jaegeuk Kim , Adrian Hunter , kernel test robot , "James E.J. Bottomley" , Bean Huo , Can Guo , Stanley Chu References: <20211110004440.3389311-1-bvanassche@acm.org> <20211110004440.3389311-3-bvanassche@acm.org> From: "Asutosh Das (asd)" In-Reply-To: <20211110004440.3389311-3-bvanassche@acm.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org On 11/9/2021 4:44 PM, Bart Van Assche wrote: > Commit edc0596cc04b ("scsi: ufs: core: Stop clearing UNIT ATTENTIONS") > removed all callers of is_rpmb_wlun(). Hence also remove the function > itself. > > Reported-by: kernel test robot > Signed-off-by: Bart Van Assche > --- > drivers/scsi/ufs/ufshcd.c | 5 ----- > 1 file changed, 5 deletions(-) > LGTM. Reviewed-by: Asutosh Das > diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c > index dac8fbf221f7..d18685d080d7 100644 > --- a/drivers/scsi/ufs/ufshcd.c > +++ b/drivers/scsi/ufs/ufshcd.c > @@ -2650,11 +2650,6 @@ static inline u16 ufshcd_upiu_wlun_to_scsi_wlun(u8 upiu_wlun_id) > return (upiu_wlun_id & ~UFS_UPIU_WLUN_ID) | SCSI_W_LUN_BASE; > } > > -static inline bool is_rpmb_wlun(struct scsi_device *sdev) > -{ > - return sdev->lun == ufshcd_upiu_wlun_to_scsi_wlun(UFS_UPIU_RPMB_WLUN); > -} > - > static inline bool is_device_wlun(struct scsi_device *sdev) > { > return sdev->lun == > -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, Linux Foundation Collaborative Project