Message ID | cover.1667237959.git.drv@mailo.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2457044wru; Mon, 31 Oct 2022 10:58:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4V+v+jsGzYcGNXvhILCLGfMFNZfvahHZGLtoYX8lQ+53PbZeJ6uBZrZUAwbI7vntawJfcR X-Received: by 2002:a05:6402:847:b0:45b:d50c:b9aa with SMTP id b7-20020a056402084700b0045bd50cb9aamr14771370edz.289.1667239092375; Mon, 31 Oct 2022 10:58:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667239092; cv=none; d=google.com; s=arc-20160816; b=g8wSVY4okac9D9XnizeTJ0lVIQGsK/l1Za4ZECU6ncNicQ9KVmcapBm0IfDLx9NVvi 2f98dwfyhTf1tO39eTTwOpmxoH9tPd89ejYAPY198BNtCL0lc/G/iy5yd/k/H6vap3+R NvmDfkV4Jlg+2gDbZsZoAKeNkwxvkmfAx5UuYMfC1De8lvzXYznRElG43a8AdJj/fWKe OBUlQxX4VRbppl2GZbOHRitIYaUBFkq0IAF4UoFkfu+I50TG+ZcYPkzT04yNWqFFnqs1 il5bF0Avt7ufY42yz4lFlRLUHGpzZqQyAxrFded8cylClcGY6s9/IKVLm8rTXWokAwJy Byvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=CtkdxekCJrvP04QvQRt31sdG408zCEEizyLJlTcGD2c=; b=FnsAkK4TemkOTpegz6ArA7CjYP3Q7gLzSgYQ5hUfCdZIJwOFZuY5zSHoX5vantMsO/ GvEMSUplincpph3MjGEtpdvKkb4QKGBjvxzYVlQ6ycZVXr380LatcHENJwuncFzcalhh zV/XYcZ5t5NOephPJ8P3NAws1tEhGUa52Aj+ZwpyZsKZkyPrlkIb3Nky+CREHCt2873z Wi1M5bysSVP8wGfU9GgVocrSeieBJP3+e/ib/X7hNRPaawNqsxvnY3LiYRoZ1T6B8uQS 9PV5RGzYIi8swqaz3/ACRhGGf7DEVcmSn3yazXIzzXkEcrSX0sg9exhWFLAD5NQjKSnQ RpBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mailo.com header.s=mailo header.b="YQm5J/sm"; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mailo.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qw18-20020a1709066a1200b007a7d22b9e0bsi9887410ejc.133.2022.10.31.10.57.48; Mon, 31 Oct 2022 10:58:12 -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=fail header.i=@mailo.com header.s=mailo header.b="YQm5J/sm"; 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=fail (p=NONE sp=NONE dis=NONE) header.from=mailo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230234AbiJaRz3 (ORCPT <rfc822;kartikey406@gmail.com> + 99 others); Mon, 31 Oct 2022 13:55:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230211AbiJaRzZ (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 31 Oct 2022 13:55:25 -0400 Received: from msg-2.mailo.com (msg-2.mailo.com [213.182.54.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8FF96330 for <linux-kernel@vger.kernel.org>; Mon, 31 Oct 2022 10:55:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailo.com; s=mailo; t=1667238914; bh=W1cVkV3qn3Pg2/HJ80BRN4V9ycnBObxFgx7ZbvxxI20=; h=X-EA-Auth:Date:From:To:Subject:Message-ID:MIME-Version: Content-Type; b=YQm5J/smB2pHkI+WIASMCbAve6zPtBqFpZuF5iHwIjZbcP0eKvCT8FgEhF1WElD4/ u4BMDLQPCYUG0SANBHnsubZ5NTBRtT8T8SzqpkYKDEvQXTNGsinWGGu2efnN8CeCki /PElmdDoR3aAdu4MHdtDptTUkB7WdRqJaOTDrYMo= Received: by b-4.in.mailobj.net [192.168.90.14] with ESMTP via [213.182.55.206] Mon, 31 Oct 2022 18:55:14 +0100 (CET) X-EA-Auth: p3LF/zqOYKvJZGpBzZ/5JwgezmRpgKmoLiBSzVGEiUono7kTpDRrdYrQ0kPJ3AOSTCkNrWe0eDdRM/X98akJkz02DL61eXrX Date: Mon, 31 Oct 2022 23:25:14 +0530 From: Deepak R Varma <drv@mailo.com> To: outreachy@lists.linux.dev, gregkh@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] staging: rtl8192u: unused code cleanup Message-ID: <cover.1667237959.git.drv@mailo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748226898580441758?= X-GMAIL-MSGID: =?utf-8?q?1748226898580441758?= |
Series |
staging: rtl8192u: unused code cleanup
|
|
Message
Deepak R Varma
Oct. 31, 2022, 5:55 p.m. UTC
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(-) -- 2.30.2
Comments
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
On Wed, Nov 02, 2022 at 08:27:40AM +0100, Greg KH wrote: > 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. My apologies. I did a limited driver specific build but did not run a full make. I understand that the EXPORT_SYMBOL is across the kernel and I should have run a full build. I have made the corrections and now running a full build. I will send a revision shortly. Sorry for the trouble. ./drv > > greg k-h >