Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7555647rwl; Fri, 30 Dec 2022 10:08:44 -0800 (PST) X-Google-Smtp-Source: AMrXdXu58RDYjY0BwrGWdPHOdRdZr8IEDKtj45bS94tuKZm7lTErMLTnyjB7/Fm7B0KRv2CSuGJW X-Received: by 2002:a05:6a20:2d06:b0:ad:e5e8:cfe8 with SMTP id g6-20020a056a202d0600b000ade5e8cfe8mr41751902pzl.48.1672423724472; Fri, 30 Dec 2022 10:08:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672423724; cv=none; d=google.com; s=arc-20160816; b=CGD/eL2Rjk0Qn9+H85oV7Sl6nqs3TMzQ9n2m9PQ9mgCHgTtW76IurhB2JbP14Nav/R t3JAGADhDU5Fep5Aw0YKzs0dUpjx6iwnw5HKMvEl4e8AGMnqkpEBw5yyWULHW4IJCiru z5n1dsj9tsia/ByMuu/EbQr5e6HF9qg2FCkstPaRDTXtfhZ6U9zLf/9EBa2j+venYbcl E/qXQgfOhSBHywrfGWaPjTEubymFdZ5gmv+0vc0KAiOXpvfpj5D8sHhcEbPaIUDfu3yS 47gIlXB8K71E4Bizxo3N/90SS0vahLPmswOWiOLI4M3QLlLx55Nst9NazoehLCNGX5W8 GuDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=9jHKqYo8DMs8x6kzB9kTXWlk30gU1sluXmaaWNHvsNQ=; b=if+3o+h0an3/NVt3saXHJHb6BcBikticXKKVewjk0HckHNP4/ZrC0paeSwcPGpCzih hfxNUlQTzfARS25hq9YlO74R6EWa+zHo4Q0Je+YQZfe1Ya8ytUdL/qfk5BeIXham+QDg 62ZkQg56mZOVKrTi51g6axi+tIJFubZfoRZdZLWBq0OrqNHaU15uTVtIiGjE4fZ8WaHK 3fuCW/cAIfSqmzrrY2KBtoyF4iJDL9FKgbMNx9xrJqjqHrP7YumE3zD1u/04jfU+wicN qVuaTepH/L0QWo70EKIhEQ4yxoqq17ujiqk1yRIr1UkHDj/zOj6y9QFNfaQchuWC3dbb kaZA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 26-20020a63185a000000b00477cd382329si22714524pgy.56.2022.12.30.10.08.31; Fri, 30 Dec 2022 10:08:44 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235450AbiL3SHV (ORCPT + 63 others); Fri, 30 Dec 2022 13:07:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235412AbiL3SHO (ORCPT ); Fri, 30 Dec 2022 13:07:14 -0500 Received: from viti.kaiser.cx (viti.kaiser.cx [IPv6:2a01:238:43fe:e600:cd0c:bd4a:7a3:8e9f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6361B60E2 for ; Fri, 30 Dec 2022 10:07:13 -0800 (PST) Received: from dslb-188-097-208-179.188.097.pools.vodafone-ip.de ([188.97.208.179] helo=martin-debian-2.paytec.ch) by viti.kaiser.cx with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1pBJmd-0004rR-It; Fri, 30 Dec 2022 19:07:07 +0100 From: Martin Kaiser To: Greg Kroah-Hartman Cc: Larry Finger , Phillip Potter , Michael Straube , Pavel Skripkin , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Martin Kaiser Subject: [PATCH 02/20] staging: r8188eu: remove some unused CAM defines Date: Fri, 30 Dec 2022 19:06:28 +0100 Message-Id: <20221230180646.91008-3-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20221230180646.91008-1-martin@kaiser.cx> References: <20221230180646.91008-1-martin@kaiser.cx> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE 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 Remove some CAM-related defines which are not used in the r8188eu driver. Signed-off-by: Martin Kaiser --- .../staging/r8188eu/include/rtl8188e_spec.h | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/drivers/staging/r8188eu/include/rtl8188e_spec.h b/drivers/staging/r8188eu/include/rtl8188e_spec.h index 3fa3b3e5dd64..25b31417cd58 100644 --- a/drivers/staging/r8188eu/include/rtl8188e_spec.h +++ b/drivers/staging/r8188eu/include/rtl8188e_spec.h @@ -510,28 +510,7 @@ Default: 00b. /* 8192C BW_OPMODE bits (Offset 0x203, 8bit) */ #define BW_OPMODE_20MHZ BIT(2) -/* 8192C CAM Config Setting (offset 0x250, 1 byte) */ -#define CAM_VALID BIT(15) -#define CAM_NOTVALID 0x0000 -#define CAM_USEDK BIT(5) - -#define CAM_CONTENT_COUNT 8 - -#define CAM_NONE 0x0 -#define CAM_WEP40 0x01 -#define CAM_TKIP 0x02 -#define CAM_AES 0x04 -#define CAM_WEP104 0x05 -#define CAM_SMS4 0x6 - -#define TOTAL_CAM_ENTRY 32 -#define HALF_CAM_ENTRY 16 - -#define CAM_CONFIG_USEDK true -#define CAM_CONFIG_NO_USEDK false - #define CAM_WRITE BIT(16) -#define CAM_READ 0x00000000 #define CAM_POLLINIG BIT(31) #define SCR_UseDK 0x01 -- 2.30.2