From patchwork Mon Oct 31 17:55:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Deepak R Varma X-Patchwork-Id: 929 Return-Path: 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 + 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 ); 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 ; 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 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: MIME-Version: 1.0 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: 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?= 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