Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp3624077rwi; Wed, 2 Nov 2022 00:50:59 -0700 (PDT) X-Google-Smtp-Source: AMsMyM476pksITx/HBsfztg7CmQf5Nw0l2jb50/ysj+9vSwPpD3uD1C7BrbWL2J2tw5CIUb4wFyZ X-Received: by 2002:a17:906:99c2:b0:7a8:c167:1d93 with SMTP id s2-20020a17090699c200b007a8c1671d93mr21327136ejn.490.1667375459448; Wed, 02 Nov 2022 00:50:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667375459; cv=none; d=google.com; s=arc-20160816; b=ItUlJ1CWQuUs1voaQk7GFG7lzKhWs2bbGp4BxJR/f1DrOOy/W9c4z1oErP/XlMholx ONXzew92vL5tgigwoZyED46EExtbPW/5aDUY9KXJuPxSol1uS+W1G5yCkwFvgA7as4Wt nMmxNpBtnGb5f42bo0JfeuvhKI02vFSspaGADk0xE8kqa0gW62NfG4FylCzpblFWxiTM RCAyJYl4tB4OOYdrxX6ROzLJxXPI0dZx1uZKxpM8A3TPtRSChX6AxeZPGRuXZRTHPkAT /XOA8MAk3XOsckLrNQTpjlsYuEDBqRVJm+MboRyVxui2kaYRlY9azz6QYG4ERUZ3qG5c EOXQ== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=4+jIavlfP7Lbmjtkuzn0sityGHfOerKLpD72+quNkyw=; b=th1xK/PDq8CxsE0r9m0K/vDYLFm5NIhlE/651XepfiFSstt6fYqPlf6ea1DoXpg7s7 XvyXfEh6RFZh9+Sw7Cy6tNxIctelyCbjJp95jYOBKd1yI6dkpkBCjWEMwaNDuPMCVuqn UVt+6b4LD4i51cceozz51zO7KyoLDr5rlY0LBv/EGVggud7Kw0uLHsquPRgJluIXfaIj dNByOcfHc6q7XtEZa16/Xyzq19vseX6ZvXg/R67rAzofBPNz5Yq81i7pztxQt2RDU0oh FLMbIBF8sWNUF+7cOb5sApJJ/YIc9WPsY3HPab2YjQAZX/mnWJzOAn3B1yh5dpNcbR8E tb+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wSaCsQMO; 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 k4-20020a50cb84000000b0045cf1500ffesi12729953edi.275.2022.11.02.00.50.36; Wed, 02 Nov 2022 00:50:59 -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=wSaCsQMO; 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 S230345AbiKBH0v (ORCPT + 96 others); Wed, 2 Nov 2022 03:26:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229587AbiKBH0t (ORCPT ); Wed, 2 Nov 2022 03:26:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC5672B3 for ; Wed, 2 Nov 2022 00:26:48 -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 87E3F61824 for ; Wed, 2 Nov 2022 07:26:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E6586C433D6; Wed, 2 Nov 2022 07:26:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1667374007; bh=ea3xm0W6JUBu3sbnx+UELIxce5vh5PHS2fnCsdepCRM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wSaCsQMOWWAD+7aar1WiLQWiPNtjleWhEB6afOO/TQeLvahTf1wwBzH4oZSZPgTiK FwKvynul45f66iisV/ZcFqzyjQM0qjraxoENOIYyxgzstnNe4e2A/3uJyU7zIm3QlR yXuLYT/YebmxF4EvCBiT00VijsfAdMXc9sGiBKNs= Date: Wed, 2 Nov 2022 08:27:40 +0100 From: Greg KH To: Deepak R Varma Cc: outreachy@lists.linux.dev, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 0/2] staging: rtl8192u: unused code cleanup Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-8.2 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 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 31, 2022 at 11:25:14PM +0530, Deepak R Varma wrote: > Remove unnecessary or unused code. > > Changes in v2: > Patch1: > 1. Revise patch log to explain impact of the patch > Suggested by gregkh@linuxfoundation.org > Patch2: > 1. Review other similar macro defines and clean those up as well. > Suggested by gregkh@linuxfoundation.org > 2. Revise patch log to explain impact of the patch > Suggested by julia.lawall@inria.fr > > Deepak R Varma (2): > staging: rtl8192u: remove unnecessary function implementation > staging: rtl8192u: remove redundant macro definition > > .../staging/rtl8192u/ieee80211/ieee80211.h | 67 ------------------- > .../rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 6 -- > .../rtl8192u/ieee80211/ieee80211_module.c | 3 - > 3 files changed, 76 deletions(-) This series causes a build breakage: MODPOST Module.symvers ../ERROR: modpost: net/mac80211/mac80211: 'ieee80211_wake_queue' exported twice. Previous export was in drivers/staging/rtl8192u/r8192u_usb.ko ERROR: modpost: net/mac80211/mac80211: 'ieee80211_stop_queue' exported twice. Previous export was in drivers/staging/rtl8192u/r8192u_usb.ko make[1]: *** [scripts/Makefile.modpost:126: Module.symvers] Error 1 make: *** [Makefile:1944: modpost] Error 2 Always test build your changes. greg k-h