Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp444157rwr; Wed, 26 Apr 2023 01:16:47 -0700 (PDT) X-Google-Smtp-Source: AKy350bRkhe1nObQS5WTjgMOMayS2vSSfOWkX3r2+kyB5JYxZ1UIUd9XJZRCcRr0td9lukHzjtwe X-Received: by 2002:a17:903:25cd:b0:1a2:37fc:b591 with SMTP id jc13-20020a17090325cd00b001a237fcb591mr18624587plb.69.1682497007424; Wed, 26 Apr 2023 01:16:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682497007; cv=none; d=google.com; s=arc-20160816; b=dFue1qsI7tiEdsqpFOfwdvQz59h2AB0kvprNGi6l4w8f1gXoETTkNw6GxM9/kfmFaz iMQPW6mWm+2ogmQgJlY+zsrov/2Xhr4h3ixpIfuNgLP5+mvLdswSjznGpmxDcFUhzm5u Myj07fk2tckSFeJRHaU12M7o6rMukzIQHPp3NfL6PQrhUdPUSZqxVZqHnoFfGcN729xa Qzy5fxCChtvs/eyE1qNV4uJT67nN/XgzGmqe/zJSIqm6tdw76O031gXFaibjdu0TB11V B3/YXMg+L+DGnfZerq5HttD3FAV2dZo49sCoZndztC3VqeIQQRKQNcfYG88X1ADfqbUW VAPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=vz2sYZ9NBvU4b/r64w0BAiIz0FeVVMljiKndLFmNPzM=; b=MR39FPfumc3V/ZqdE8DAE+m0jTkQWHTR7En+Hwfxxmzc0tWn9RM6TOBuJyJ5Y1wqN1 uTQUXR/PeSIqfOIpm7uR721q2fC8MJty7Ic/XJ4Hyl9AhuTzs3ucATwW8ToImx+NV4Zz OpE9goUL6oWFRxzoh3wvrFfkrZAAlI/nIV0IscA54ke2TYM5GRWJbUY0HlI9EZCLyi2B 01zP07t+Yl994V9s4A4/Ergo0JAZvtM4k5CikMe3HGHnbm1BhiiERZOQiSFQ26YFHf9G rF8tQ1/GwnvFmWaYPnO6cNGvszmHQRb3jd+Dk8+/Lrd2f21zUGs1mHiMTLeANMC5NhbA Xc9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=nS2NZxDv; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bb1-20020a170902bc8100b001a4ee96c00bsi15051956plb.357.2023.04.26.01.16.34; Wed, 26 Apr 2023 01:16:47 -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=@gmail.com header.s=20221208 header.b=nS2NZxDv; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240098AbjDZII5 (ORCPT + 99 others); Wed, 26 Apr 2023 04:08:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240059AbjDZIIr (ORCPT ); Wed, 26 Apr 2023 04:08:47 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70E52198C; Wed, 26 Apr 2023 01:08:45 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4edc63c82d1so6919049e87.0; Wed, 26 Apr 2023 01:08:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682496522; x=1685088522; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=vz2sYZ9NBvU4b/r64w0BAiIz0FeVVMljiKndLFmNPzM=; b=nS2NZxDvjIkU7CaXFub7mR+yCqpcF7NqNoWorRX2kerR9UWaikZdyhBovFX7hwE0DY CHtJDqKu1PcFiY+n3623hlkKs/dp55Pz5+pmT49qjg+aqXDvLilUhO2iLxJm3UO8gmZW NOq1XKWWrz2acbSJO1yRwBeFzkt5pWAbpug5doPLRc29x0MSVq44iPgcMLhDgkAg+cLt xlXhTBqoIkqQf/if4N2W1PZXxgFXeOIJv2nalrr3pZSYLIWarKYSDyxT3Uj6vByQBOp6 0uEYved47plFFXa0Dy98pKjDYqh3yGYg1O/ZMrGz9YmWrx+alibBXFbcweranh1Dw6N6 4xtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682496522; x=1685088522; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vz2sYZ9NBvU4b/r64w0BAiIz0FeVVMljiKndLFmNPzM=; b=ByUChrWj0JKVYnJPpUuxfC7Y/8U3c/V09miucHm+4extzQVdT9O8KfYQovmSPcWyXk dfhx77pcS0NJbb/qsUzhosR2RJ6RNzFYZQfxHUiO3rK9ixKNvkRuwNOt4KWUB0hsFITk QEsML3lfpaofI8loNLd6D9bWxupAG9Ocoik5tY4ucmQ8KEyeJ6ofT4wApo09THXra9Wo xwAGMajimnPhEGk0IC06EDJxDqeJhjefz1HDso+10TAceEyXyZt/dGsV7bf3q1UdxvY4 XiLmoVPpAqca8WIsG3vxghNA0zKFrycdH+4+W0WpLAD04FJjYILaO1mbjfetQOaHHRUH /nYw== X-Gm-Message-State: AAQBX9dMoF+XFJLUWFfd7wwr8emiro9my5tAjcuYYNOs4J+/137U+Mjk leTFsVPcL4TojtmB7iOqtgyXg4ZN8otZEgQ4tg== X-Received: by 2002:ac2:4a87:0:b0:4e8:502e:b32b with SMTP id l7-20020ac24a87000000b004e8502eb32bmr5292588lfp.68.1682496521478; Wed, 26 Apr 2023 01:08:41 -0700 (PDT) MIME-Version: 1.0 References: <20230426052153epcms2p27d64a865f15bfd452d564f77d63605db@epcms2p2> In-Reply-To: <20230426052153epcms2p27d64a865f15bfd452d564f77d63605db@epcms2p2> From: Stanley Chu Date: Wed, 26 Apr 2023 16:08:29 +0800 Message-ID: Subject: Re: [PATCH] scsi: ufs: core: Simplify param_set_mcq_mode() To: keosung.park@samsung.com Cc: ALIM AKHTAR , "avri.altman@wdc.com" , "bvanassche@acm.org" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "stanley.chu@mediatek.com" , "quic_asutoshd@quicinc.com" , "beanhuo@micron.com" , "linux-scsi@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Keoseong Park =E6=96=BC 2023=E5=B9=B44=E6=9C=882= 6=E6=97=A5 =E9=80=B1=E4=B8=89 =E4=B8=8B=E5=8D=881:26=E5=AF=AB=E9=81=93=EF= =BC=9A > > This function does not require the "ret" variable because it returns > only the result of param_set_bool(). > > Remove unnecessary "ret" variable and simplify the code. > > Signed-off-by: Keoseong Park > --- > drivers/ufs/core/ufshcd.c | 8 +------- > 1 file changed, 1 insertion(+), 7 deletions(-) Reviewed-by: Stanley Chu