From patchwork Wed Jan 11 19:56:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Kaiser X-Patchwork-Id: 42170 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3509356wrt; Wed, 11 Jan 2023 11:58:48 -0800 (PST) X-Google-Smtp-Source: AMrXdXsc7hgIQDNCD65c8hMJ9+GFjuZqVwW8KU9egnReneFxH0rise7exWclKBmcaUl/d8NUZWkf X-Received: by 2002:a17:906:5202:b0:7c1:4a3:10b6 with SMTP id g2-20020a170906520200b007c104a310b6mr61373301ejm.53.1673467128134; Wed, 11 Jan 2023 11:58:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673467128; cv=none; d=google.com; s=arc-20160816; b=B+oxhBVs/9e/kBkVBzfEIaKoNloouSS4V2NdATiKL2q1rVOmtB6f2/smoN91jAiSuI wiWw7KxJeQ761c3RAi6gQO2GGVI8C42sbUZ2s+zY6a19WkBWSePM/+/mH7WZPJElkIAK 0/JAVI9spi4++AiXe52lUKFvO5INjt/GupjRMaawmwFlWnKObNdK7FyQAYJp9DN81Q6R qXlAPnxIlVpVpi7GmKg9GP2MVNOgMsvQmmkQ5bCK/YChG8P0SdyoB/+7Wsvk0wkuQQst kufrgMppmlcEEwhTDYAfHxaZ9lI86a6o1dD576eh2rE1sGzF0xI+VPYXS6vNLVgYKGHs axUw== 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=Yt3kaWkUYhvjNg2TeovCzRS+m8mWGuA8jBlGPWP23LM=; b=ulsSamwi8dMI+m/UyZKxRZ7YqIb3c9Z34U4QGX0gBhlRAN++FQ5rP62bGUdIslEv8r xh2PQH0RNXwc0wcDfIvvEfE76b9Mu7XF86UWHtWSlblFWR2iPEgxiOympjXnWMbH4U+p uMJDNjRiT7TcHlsbm/CZOa+mCEiv61440iZXiUWMYN/LdJcepQo3IpBbxpKnAXe2QVJQ GYjwTqp7hd+E4IMf9YIunESp4ZBw6kXXQFc4ISLGGPTdZ5xx1pHq6dH+9weXV5LjP3tH FsU7JzH662YEw/ZUNDUW5nVz5eN7yhZ8CAjb3JLTpsQyP/opqMlVriyy52ERJtDCH13K MIug== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ww2-20020a170907084200b007c163a17f44si16015188ejb.995.2023.01.11.11.58.23; Wed, 11 Jan 2023 11:58:48 -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 S234808AbjAKT54 (ORCPT + 99 others); Wed, 11 Jan 2023 14:57:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234959AbjAKT5G (ORCPT ); Wed, 11 Jan 2023 14:57:06 -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 CC085D6B for ; Wed, 11 Jan 2023 11:57:05 -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-0e; 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 10/20] staging: r8188eu: remove struct reg_protocol_rd Date: Wed, 11 Jan 2023 20:56:30 +0100 Message-Id: <20230111195640.306748-11-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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754757467116079731?= X-GMAIL-MSGID: =?utf-8?q?1754757467116079731?= Remove struct reg_protocol_rd. It's not used in the r8188eu driver. Signed-off-by: Martin Kaiser --- drivers/staging/r8188eu/include/rtw_io.h | 43 ------------------------ 1 file changed, 43 deletions(-) diff --git a/drivers/staging/r8188eu/include/rtw_io.h b/drivers/staging/r8188eu/include/rtw_io.h index 4800c8249721..858fd9cbb57a 100644 --- a/drivers/staging/r8188eu/include/rtw_io.h +++ b/drivers/staging/r8188eu/include/rtw_io.h @@ -102,49 +102,6 @@ struct intf_hdl { struct dvobj_priv *pintf_dev; }; -struct reg_protocol_rd { -#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 */ -#endif -}; - struct reg_protocol_wt { #ifdef __LITTLE_ENDIAN /* DW1 */