Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3243058pxv; Sun, 27 Jun 2021 23:36:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySeRq0B4EppZsdkeKMUgTo07hAMD1IeBg3nFEiSXMerfOHMjKKXWTnnrJTM/5Bsge/RbD0 X-Received: by 2002:a17:906:f256:: with SMTP id gy22mr22477969ejb.103.1624862186780; Sun, 27 Jun 2021 23:36:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624862186; cv=none; d=google.com; s=arc-20160816; b=Zdqm2h1FU0+OOvEuc7G0cyRyoUKCpxqMJiU6mFTa6DNUGlR1x+mK7gBvthQgcl/IiW 3/vt4CSF4RQ+oFVjHS5dqxmQhvO1xhVqS9eu/A4Zhgd+bUeQm0mtHP4YrNnDiVxUXHpJ 9c4uE63U75PaDkZVeQ6CuBxMMvTTLd/Vwe3GLydwCJ15mWlg3DE8YzADOtJIhliFzW0d 7Sjb8yyQ/PElgeUbIbJ8VvjvtpH6IM64D0Tjv6j8Pbmjo3mCXVOULkjwvTUZ8Lwfq1n8 NQUcTMKPjcW1ufdIVZf6cDOWSp+205JS0bQy3cBqYQnPPBT9Bbif1IU6o1Yl8F0jfj1M NoQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:to:from:subject:message-id :dkim-signature; bh=Txib2lQrDDQhvhBqeRPpUjNCWW8HeQrOQj6T4O5KwlY=; b=bJbp6zPrveQfa3/2eEFFedvL9U0U5EB4vgDtnbDvUzNA84j7EXpf2XJl5WzoxWYMrT kGcJgY8iDcEJqEXNRt2dzvY4tsqrH5Mq6k61XOUkwhRp26BRVeBvvIykapoAYA0A5kLb Lmu5pV3Zi5jzB72wJjVY/WRUvcsESPwPW/MHGZfx36YqGdHuDJZfTnGBo5j2WLp3/S6b bc7tsO/yLjhny/VTskQVNhV0jX8h3nOlsWRoLoqug+BOPcmh/A8cxvVrj3lEvsG4alxd ZJSTmUQs+REm4sGFIIlszVvsdaT6EmJaR4mD61Afp9LBmFP+YCYQO4tnvI7MY8EA849c 030A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JhPkhH3Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p4si14878127eju.348.2021.06.27.23.36.03; Sun, 27 Jun 2021 23:36:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JhPkhH3Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232145AbhF1Ge6 (ORCPT + 99 others); Mon, 28 Jun 2021 02:34:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230134AbhF1Ge5 (ORCPT ); Mon, 28 Jun 2021 02:34:57 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97025C061574; Sun, 27 Jun 2021 23:32:31 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id s15so24048107edt.13; Sun, 27 Jun 2021 23:32:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=Txib2lQrDDQhvhBqeRPpUjNCWW8HeQrOQj6T4O5KwlY=; b=JhPkhH3Q1zA/DAr3MkYkso+Y8TrPAXPOfWSPbcikGR1MhOMgFr4VxnP3yUZldp4b46 aZOQKjJ8yd1BqPW9AtOd9K7h2sH4G54JpjOE9RVw85E0WvD8SvriN3aQ6SaflsJf914o gN3b/uWwfMFYXsQkLSzKg13zr0TB2qF7ep6M1aS48b/bw+kDRxYj46Mlcatpmn23++TL /vQgyRhLh/pMXoYDZ/JVzCT1VmBQaV6oxQqLOhixi7nNQAikk+K50aO4RpVrPvB4pBhm NG4+VUET9eiXlucmNedhKc/3+raEFDFU8XK9O7reiYCQC1COE2W+jmLutTLX2oufVh5R Lt+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=Txib2lQrDDQhvhBqeRPpUjNCWW8HeQrOQj6T4O5KwlY=; b=PfbaOJbUC0pZJvy2PQZHuWLHzA46pX+bXJSrZs8gZBXmlUqUwW+BK6V5Kn/CgFupoV dUwE4WjmNtlSUwMZ9beC11JG5i4lcd1CxPnDGDIuCJcbAGVLW9iufgK/QdjVvALAAgNU hg9u9oOS/5cZIajUx6m9R0lbnJWvp2g07g3KT7UjfzRtyscNKQiOoCcL5BZ5gCl+0cgs wTLQOsR8LyTJEaHwOvpEA6Csk7k4lcaVpOQKJCWwj9kN+qYCyUlTmbXTEZNQuLpozT38 MKV84lbXpQEM7v1oEzDVQ41G8m8jvBFAkrRov3Dm1u3odeeQaLUpgnZx4mkM4QcWiov9 CcKg== X-Gm-Message-State: AOAM530a84J67KlAioWqcmHHzNjKKj+AiWDU1S7g63ZHKfOPo29xGjsM 2oBseDjPpz0sYROeINxz8CA= X-Received: by 2002:a05:6402:5248:: with SMTP id t8mr31128621edd.110.1624861950287; Sun, 27 Jun 2021 23:32:30 -0700 (PDT) Received: from ubuntu-laptop (ip5f5bec5d.dynamic.kabel-deutschland.de. [95.91.236.93]) by smtp.googlemail.com with ESMTPSA id bx28sm6430311ejc.39.2021.06.27.23.32.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Jun 2021 23:32:30 -0700 (PDT) Message-ID: <5b4717c407a7998380d5edb61ec5b0a1b82a50fc.camel@gmail.com> Subject: Re: [PATCH v2] scsi: ufs: Refactor ufshcd_is_intr_aggr_allowed() From: Bean Huo To: keosung.park@samsung.com, ALIM AKHTAR , "avri.altman@wdc.com" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "stanley.chu@mediatek.com" , "cang@codeaurora.org" , "beanhuo@micron.com" , "adrian.hunter@intel.com" , Kiwoong Kim , "satyat@google.com" , "asutoshd@codeaurora.org" , "bvanassche@acm.org" , "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "jpinto@synopsys.com" , "joe@perches.com" Date: Mon, 28 Jun 2021 08:32:28 +0200 In-Reply-To: <1891546521.01624860001810.JavaMail.epsvc@epcpadp3> References: <1891546521.01624860001810.JavaMail.epsvc@epcpadp3> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.4-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2021-06-28 at 14:58 +0900, Keoseong Park wrote: > Simplify if else statement to return statement, > > and remove code related to CONFIG_SCSI_UFS_DWC that is not in use. > > > > v1 -> v2 > > Remove code related to CONFIG_SCSI_UFS_DWC that is not in use. > > > > Cc: Joao Pinto > > Signed-off-by: Keoseong Park Reviewed-by: Bean Huo