From patchwork Wed Nov 2 14:37:52 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: 1032 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp3662300wru; Wed, 2 Nov 2022 07:44:33 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7aWaEf3AoOmrFZ0ZphmSUPZDVOxZaPFL4oevzX56gyKyTki4fK8vUiq9IKT6bixw4Uo4Nq X-Received: by 2002:a17:906:e44:b0:7ae:62b:3088 with SMTP id q4-20020a1709060e4400b007ae062b3088mr3389524eji.28.1667400273765; Wed, 02 Nov 2022 07:44:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667400273; cv=none; d=google.com; s=arc-20160816; b=iSRr/PRAOKwNCK60wh1n7ob7IEE4fB2k4JOqFdBjyEoDEcuN8KQK/7RL6AJdc0hzbO pzSgB2M8bG9GyxIA913wtrru6gJLtR03jX29hsv6xM2UhJZzsm2T/dODX+HkepKamjre JoTtTLuwLehxc9SVmDF5h3wUCzY+//6BwcHftZUf1SXKtZh1TypVOP03jyxN0j3ApDfn ED4ElAcZI2EaiAD5BrqOBsa5rj+UfeN2e4EH7YCQhfZySCEmXP4rmAz/tqpik23ardfz RWK73sKVqrHah739qIDFVO24yGCMvgatNZnwurrKLuL+yBV2BzCVpGBDd304azucuJfz lj6A== 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=7A7aRe2v3g0/UnMSIxxzsKZXr7n56N8wAjpsrzaaQu4=; b=bTXU+SqK2IxYs7I9JQaO78vj9B26pRyyXz0byYfeu9WDKENguenEUTc7D8KZDCGw8w tCpjUWfzF5w4MciK9Z5SSHKgxxKTX/FPpCZRjZ0Be7bUznNTMecoWbK+V0AgLKvn3GxH mgNMeMZSLSJmmJ93cvToxUL2bAw1tkuN2eyPUo8F42Jr21fc7R6l/vWZ4z468SlBgzhO q4k+L52e/cZIZOLamUHMZmMCla0ziJzIL48AZA2Qe6fHmaFePOxgEKmqSkYs9NLqTwzl K9K9VrQzd/+AXlHLIQKPVhf+x57hC89jNLCxtm4gpCRcVX75T37yG5TQqjdcm6IxOZCR XTZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@mailo.com header.s=mailo header.b=lVxZPZZs; 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 sa14-20020a1709076d0e00b00781f51771b6si16991171ejc.900.2022.11.02.07.43.54; Wed, 02 Nov 2022 07:44:33 -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=lVxZPZZs; 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 S231295AbiKBOiP (ORCPT + 99 others); Wed, 2 Nov 2022 10:38:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231251AbiKBOiM (ORCPT ); Wed, 2 Nov 2022 10:38:12 -0400 Received: from msg-1.mailo.com (msg-1.mailo.com [213.182.54.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 806BF15A28 for ; Wed, 2 Nov 2022 07:38:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mailo.com; s=mailo; t=1667399874; bh=iazCrBNIt2pbE3fO7xl9vvDWT+4SJzjW3MIAsdkalcg=; h=X-EA-Auth:Date:From:To:Subject:Message-ID:MIME-Version: Content-Type; b=lVxZPZZsr1mP+r8kr8PyiAEopPoRwCN1j+ZDeK2RX+l7KQuibNZLhqaHT5eQwmZUY doOB2WGdQMrSniqj+3RKrBAeMaMXIpVeTh9dtUpdbelaUqq2Sk2YayvRAPUFH2+jel jhqDm4O+i2PLLfhkAYOGLICdYIzYh43PnQSH6mes= Received: by b-2.in.mailobj.net [192.168.90.12] with ESMTP via [213.182.55.206] Wed, 2 Nov 2022 15:37:54 +0100 (CET) X-EA-Auth: 5C6XJzcJ9/ioESg8drmn/gcV5RLU0BDHEyZHdaoCZoAQszZZk24Gjkd0BpsZQQvqGPiB6mvEWPJkT95zYkRD3jUFeCH8N6TU Date: Wed, 2 Nov 2022 20:07:52 +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 v3 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?1748395909350376966?= Remove unnecessary or unused code. Changes in v3: Patch-1: 1. Already accepted and applied to the stating-testing tree. Hence not included in this patch set now. Patch-2: 1. The patch caused staging tree build to fail due to EXPORT_SYMBOL conflict. Fixed the issue caused due to deletion of 2 macros. Correction and re-submission asked by gregkh@linuxfoundation.org Changes in v2: Patch-1: 1. Revise patch log to explain impact of the patch Suggested by gregkh@linuxfoundation.org Patch-2: 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 (1): staging: rtl8192u: remove redundant macro definitions .../staging/rtl8192u/ieee80211/ieee80211.h | 61 ------------------- 1 file changed, 61 deletions(-) --- 2.30.2