Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp8769749rwi; Tue, 25 Oct 2022 10:32:07 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7VQWRxThNu3/YWTJ2xEq6pPJbk5C7a7Jz9Gr363r2tTwCUprE0r+vNUtvdVUisqAv+hEHJ X-Received: by 2002:a62:8141:0:b0:56b:c435:f003 with SMTP id t62-20020a628141000000b0056bc435f003mr12518475pfd.15.1666719127016; Tue, 25 Oct 2022 10:32:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666719127; cv=none; d=google.com; s=arc-20160816; b=q8ZFq3w6EQ12EJBBynVg9vtD12DVVxtgmRKv6OPSmn45LpxjA6o27xa6gfUI3g2LYx qBGm4iX/iBMTmH5pNpBVoMSKWXY0oHHJnrfI/nKhAKJODZn3nQkTedeD+jx+HmnoJy5w hj9tsD3lQliBfl0jv3kasf9Yso6lROaBBz/effpgzSP5eFYNBdISxJIibB9OlU5XgEPD bUFbkb3z05T2mw9h8tVwpypNpDuotxWOx+OYMQUw2p9b5A2qA5kM+kHBEs5s1DzM+wPf WsXXzvnt6JAvbpVlbx+8Z8peu4FkMaBrtOIeyJYrp1hAekwEpQU4+wyRK7j0QhFrc+ia WijQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=z4I50NO+am3fbQXSoufRHCk1O1KCnCekWJEqc+i5ER4=; b=pCo0WNRKlDKwCnJ2mfmcnyT9SZv1ZFUDlX5CN/mXnSnGlnKcVQfW+c6hfepRlyI42g /T1+7KzWESAM4McmIplr0u7CmVX0VlwLBjTtPS6nJ2oFBT2LpnnBc1ebjrBGa+hYAb+X /DTh8N6XQOFcMC/1LMv9Mj4F1VSamoqqRRRcR7MHkDZ+O749TkRykEdqYGaSuZHS4y+u rpAnRRQ+CfFL8eX6tUeCBZeWhmRaRulmfuXsCxYqTAkZfiF4sENdhAwkAjlY1hu/RHy9 4tEGsS3mIIUCZb663aFvZ6C2MalOaUWQDAq5SkpR4h26fdQUXsQJTqYbqeIDxp3gA1EF rlFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=XGcaCVTW; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pi19-20020a17090b1e5300b00213191cc5d2si5062291pjb.163.2022.10.25.10.31.54; Tue, 25 Oct 2022 10:32:07 -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=@linuxfoundation.org header.s=korg header.b=XGcaCVTW; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232447AbiJYRWY (ORCPT + 99 others); Tue, 25 Oct 2022 13:22:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232348AbiJYRWW (ORCPT ); Tue, 25 Oct 2022 13:22:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1C15E09B9 for ; Tue, 25 Oct 2022 10:22:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3FA3D61A5F for ; Tue, 25 Oct 2022 17:22:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4BC39C433C1; Tue, 25 Oct 2022 17:22:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666718539; bh=b2jLgOkbVkgTFTZHzgyPA7Qmaai4R+6ZbvML08sPZ8Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XGcaCVTWH69C0Hr/M2My2JludMZyyrkr7NYNOM8i6rIGudr+GcROIX1eqmUgJvi1m rOQp1BVl++YOu+PK1vY/AVI7g5pDGh1eUqVRNkG8tUVDXudml2D4uZDGTJQUt4AaWA zTdg0yObDCvWmchtRx6I5H264wxT7WZiBolLodaM= Date: Tue, 25 Oct 2022 19:22:01 +0200 From: Greg Kroah-Hartman To: Kang Minchul Cc: Larry Finger , Phillip Potter , Pavel Skripkin , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/4] staging: r8188eu: cleaning up unused variables Message-ID: References: <20221024084925.262289-1-tegongkang@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 On Mon, Oct 24, 2022 at 08:23:08PM +0900, Kang Minchul wrote: > 2022년 10월 24일 (월) 오후 5:49, Kang Minchul 님이 작성: > > > > This patch series cleans up unused variables in r8188eu > > causing coccicheck warnings. > > > > Difference between v1 and this patch is that this patch series > > include making function amsdu_to_msdu in /r8188eu/core/rtw_recv.c > > into void function. > > > > Kang Minchul (4): > > staging: r8188eu: remove unnecessary variable in ioctl_linux > > staging: r8188eu: make amsdu_to_msdu void function > > staging: r8188eu: remove unnecessary variable in rtl8188eu_xmit > > staging: r8188eu: remove unnecessary variable in rtw_ap > > > > drivers/staging/r8188eu/core/rtw_ap.c | 5 ++--- > > drivers/staging/r8188eu/core/rtw_recv.c | 5 +---- > > drivers/staging/r8188eu/hal/rtl8188eu_xmit.c | 3 +-- > > drivers/staging/r8188eu/os_dep/ioctl_linux.c | 4 +--- > > 4 files changed, 5 insertions(+), 12 deletions(-) > > > > -- > > 2.34.1 > > > Oh, I guess patch 4/4 can be fixed as well. > I think the function rtw_sta_flush can be void as well. > > I'll resend the patch later. You broke the build in this series, please fix up and send a v3. thanks, greg k-h