Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9953950rwl; Wed, 11 Jan 2023 12:18:16 -0800 (PST) X-Google-Smtp-Source: AMrXdXuWUmYjCL8GGU1EQuSQ9CrpJmZtDZEJxr4qfxL7lLzV3hilwbWvuN65MvwMqvTe8+A2iCA8 X-Received: by 2002:a05:6a20:3d17:b0:a4:efdd:a9b9 with SMTP id y23-20020a056a203d1700b000a4efdda9b9mr104245498pzi.44.1673468296293; Wed, 11 Jan 2023 12:18:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673468296; cv=none; d=google.com; s=arc-20160816; b=QNFRpEq9ncSKxawBrAIwKKm+QvwfJqlChHplscamaV5pXXe1BD9JOU7pCib/v/SjR+ mPMnVSXOY3AQ4O0Rrk0Nmf4R8YVWZQVjTB6d2oBkaPXRhEeY5SgbicAdtgKefPyaxtW/ k0gFZisFXaT6+bYFdRzNcbBayzBBvLcA/VEpBjSI4VZ4dDJ8wHKKuyJco2mDFBztZNWU SbiNhuR0BBQUiIOFvz9USG9603+yVrm0E/rPENiRJiW1p8rEHXb2V9+sfRqPuGBRHuxP z+i0PHwM1HcGzdDB2o5M4pzGrEa10M2WyfONZDVOD0fOra8pVdA5/AnzTrRoEXAdg+ec i8Ag== 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=ty/z5acew6Mo9CFMfGj4yT/muk8OuhFRIG17pIi5sa8=; b=uFDR8Xg+eVGuh7moLIPB019xwLlBOZ6yqbKbZgdzqQjc78n942dXIWfuUo5WSaOeuQ PwKCrVAG//Ri1xcbh7a67/qjeUcxopecy/19gHE/51d/ep45dN0q9dm5+ATWyRmW182S A6lZn89C3mCwthI5ojXNQqIoLioB/ogCZWXf6qVspBKv8f2brtt/VRbWtwB25VFqNg0e 1Ld4BnULi+L68kPNG3AS+EIAXgTWJadD1e85QG/O22+cLepslmVZLUyWcyhPL6XtH7NA oEpn3eeBA4dYc7gFx1fO4/5gzTmmjdDSYI7AgKtAvbtpHhj8KsSueAbVIZDi/EwgNaXi BgyQ== 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 y70-20020a638a49000000b004b6578f3355si4025648pgd.773.2023.01.11.12.18.09; Wed, 11 Jan 2023 12:18:16 -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 S235754AbjAKT6B (ORCPT + 51 others); Wed, 11 Jan 2023 14:58:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56168 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233532AbjAKT5I (ORCPT ); Wed, 11 Jan 2023 14:57:08 -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 1B4BED93 for ; Wed, 11 Jan 2023 11:57:06 -0800 (PST) Received: from dslb-188-096-145-172.188.096.pools.vodafone-ip.de ([188.96.145.172] 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 1pFhDZ-0005F2-PV; Wed, 11 Jan 2023 20:57:01 +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 11/20] staging: r8188eu: remove struct reg_protocol_wt Date: Wed, 11 Jan 2023 20:56:31 +0100 Message-Id: <20230111195640.306748-12-martin@kaiser.cx> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230111195640.306748-1-martin@kaiser.cx> References: <20230111195640.306748-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 struct reg_protocol_wt. It's not used in the r8188eu driver. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/include/rtw_io.h | 42 ------------------------ 1 file changed, 42 deletions(-) diff --git a/drivers/staging/r8188eu/include/rtw_io.h b/drivers/staging/r8188eu/include/rtw_io.h index 858fd9cbb57a..ae290a18e593 100644 --- a/drivers/staging/r8188eu/include/rtw_io.h +++ b/drivers/staging/r8188eu/include/rtw_io.h @@ -102,48 +102,6 @@ struct intf_hdl { struct dvobj_priv *pintf_dev; }; -struct reg_protocol_wt { -#ifdef __LITTLE_ENDIAN - /* DW1 */ - u32 NumOfTrans:4; - u32 Reserved1:4; - u32 Reserved2:24; - /* DW2 */ - u32 ByteCount:7; - u32 WriteEnable:1; /* 0:read, 1:write */ - u32 FixOrContinuous:1; /* 0:continuous, 1: Fix */ - u32 BurstMode:1; - u32 Byte1Access:1; - u32 Byte2Access:1; - u32 Byte4Access:1; - u32 Reserved3:3; - u32 Reserved4:16; - /* DW3 */ - u32 BusAddress; - /* DW4 */ - u32 Value; -#else - /* DW1 */ - u32 Reserved1 :4; - u32 NumOfTrans:4; - u32 Reserved2:24; - /* DW2 */ - u32 WriteEnable:1; - u32 ByteCount:7; - u32 Reserved3:3; - u32 Byte4Access:1; - u32 Byte2Access:1; - u32 Byte1Access:1; - u32 BurstMode:1; - u32 FixOrContinuous:1; - u32 Reserved4:16; - /* DW3 */ - u32 BusAddress; - /* DW4 */ - u32 Value; -#endif -}; - uint register_intf_hdl(u8 *dev, struct intf_hdl *pintfhdl); void unregister_intf_hdl(struct intf_hdl *pintfhdl); -- 2.30.2