Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1875146pxb; Sun, 31 Oct 2021 02:39:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfz2PiGZUjsJJSWG70UwnSJX86CoMFgmFzJvRoG/PqJ2kn9m4W9038cVz3coSA3XTxXPau X-Received: by 2002:a17:907:72c7:: with SMTP id du7mr17721645ejc.424.1635673189253; Sun, 31 Oct 2021 02:39:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635673189; cv=none; d=google.com; s=arc-20160816; b=HyXx0suupiW4bu/a06U/kgma4vUE4YqUSwwWdKRw108dZsofsgj5ZU8aNhyobU2n/a 8steUmPZg23j5g5fphWXrNz//Puu4nM/c4DtjjwnOBCzAzPZZPw11abmtlPDxyc9iTOm +M/Fk0nRhmwW6RTM4ZTI1O3tFv/s0fPdm9jT1rZRdQ1EQZiEPFQMgxQajbOofTlkOwgC demmwwtilZ0gxuLWIpwcvA1rsJPXRj2nK8xw6p+CIHhq56qk3FiJmzgA9LXc01hsqMp7 Kp/nY8190+j4INSmApuajEk9qGetrkxTibKx3thDG2mFjjcpDjeTZoFWe5KfKLfjvcWJ a8mA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=p4CdOaBb79UP5ICFne1K/YjK6ga1457gkGiduMDgE1g=; b=UbQQquTHvECcH91xE0VNr4jHNljh6bjs8mzSYmJVPAx3jOKEJCgjtZQyyRIHg2k1ak muXOURcwKhAE0WqCPDzOpsqPC2W5CFPnT/lCXQVKwmL9JtmZfLtdoH/1Si3SKuXAxwym gJM0dyOCsOnXfmjeNIDDnkA2fbKO8SyTl59LvgBrSdxXfwb2Py2wNt05fUwkcm5Q/sXs jTYT9gAf+sOtGtpOYYrt+UOAZLBKzyYmKwHrKvB5raIdaCeLfAUObOJ1t4kVtsA9xp/K 0FTK/QKpyrm1nZd3k2BMeb1QiRWoNV+wyF+ltZP/z5DmKVAGwf53RYxR1ZXgQqaA0PTx VChQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AjZKa0pD; 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 p4si20409110edj.221.2021.10.31.02.39.01; Sun, 31 Oct 2021 02:39:49 -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=20210112 header.b=AjZKa0pD; 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 S229939AbhJaJd7 (ORCPT + 99 others); Sun, 31 Oct 2021 05:33:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229525AbhJaJd6 (ORCPT ); Sun, 31 Oct 2021 05:33:58 -0400 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DA0CC061570 for ; Sun, 31 Oct 2021 02:31:27 -0700 (PDT) Received: by mail-pl1-x634.google.com with SMTP id j1so3207887plx.4 for ; Sun, 31 Oct 2021 02:31:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=p4CdOaBb79UP5ICFne1K/YjK6ga1457gkGiduMDgE1g=; b=AjZKa0pDOUbKoNsc+LnDgDuHJ4/8TzwK/rsnukwmkYiHccKx0mlJnassSwvcIg6eAC UZ1wDijRgEQUfdIMa4N2o/0z7Zl2zJuBe8L4/nWHZWq4DueCifWbrW9qy3Pe8LrrzDdv Ohy8noXjqt6FcL/Ocu5Xe/HdOJt22245azBEJTrtc4BYflUKNWQ1O1iGEdR9MwKanVvV y6DxUH5cnYIuRMNEwpgf3mXHdsVBLK5ZS4FHYPCtGFzQZIISk12ofybR+GbkcamOC9vl 5xNmn0qM7hMVdeNaGxIfEOEq5jufjtPxWxTusWKoMaD5pEa4L/5KzGNCuKVYiMD0MLz8 +7BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=p4CdOaBb79UP5ICFne1K/YjK6ga1457gkGiduMDgE1g=; b=eBXuM6o3id6oyX9pa5Z9a90Tqv+ZDu/Ah80UninXxkqkFOVv/9uIKn4aBChgfqcQfI J7MILl5c6tNzaFKWHV0E1b19R/pFVZY67vyBpHr0a9a/ZUEjqrs3MOTBq3J6MnvXXfjw 4dVbmvHU4gX2shDQd6AYnz4toNa8skyVtVjDuqQP95sfAfkKBBalaEGseLhSQuVfoVf7 m5mDVAhk/2TchRpHVsOdNFivxz2qqTnr2LiNG1NOop08+iQDa/9Ooz8Kpo2vAGRtZt5b QDzYAMKsNR2AFYrFmNidfMZDdNFqHplYwW4cBXu8zuyY3X0ofz+R/GHAyrHncJYDUyU/ Y/iA== X-Gm-Message-State: AOAM532jqZUQeA/OpiVfdYNLRsPo1+f6aFiI7VLZ9CReDcG84RISC91g UQWopBG8JGgytS45D7pJgrY= X-Received: by 2002:a17:90b:1e0b:: with SMTP id pg11mr30724844pjb.230.1635672686718; Sun, 31 Oct 2021 02:31:26 -0700 (PDT) Received: from [192.168.160.115] ([217.146.10.210]) by smtp.gmail.com with ESMTPSA id d2sm13011730pfj.42.2021.10.31.02.31.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 31 Oct 2021 02:31:26 -0700 (PDT) Message-ID: <26a88652-0db7-6b85-565c-b7d002039cd9@gmail.com> Date: Sun, 31 Oct 2021 15:01:21 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.2.1 Subject: Re: [PATCH v2] staging: r8188eu: avoid use of goto statement Content-Language: en-GB To: Greg KH Cc: Larry.Finger@lwfinger.net, phil@philpotter.co.uk, straube.linux@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, saurav.girepunje@hotmail.com References: From: Saurav Girepunje In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26/10/21 10:16 pm, Greg KH wrote: > On Mon, Oct 25, 2021 at 08:06:00PM +0530, Saurav Girepunje wrote: >> Remove the goto statement from _rtw_init_cmd_priv(). In this function >> goto statement can be replace by return statement. By replacing the >> goto statement with return statement local variable "res" is also not >> required. As on goto label exit, function only return it is not >> performing any cleanup. Avoiding goto statement will simplify the function. >> >> Signed-off-by: Saurav Girepunje >> --- >> >> ChangeLog V2: >> >> -Add space after line end on changelog. >> -Remove addition blank link after the local variable res >> as per the coding guidelines for linux kernel. >> > > This does not apply to my tree, please rebase and resubmit. > > thanks, > > greg k-h > OK, Regards, Saurav