From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yw1-f177.google.com (mail-yw1-f177.google.com [209.85.128.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8056A39D6C6 for ; Thu, 2 Apr 2026 16:24:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775147056; cv=none; b=Eq8b3ohZEsZr/PXSZHq3PnlGrJySw80otDKa3ar/FMm0+b05/bV2o9ajNl9xGmoVO4sil0BNWhfhryYo+6hIMGXhN3TwPt6tcW8A97c7El1r2k1tWcjjo4VxuEE0kNLYE9jW2Qr6iZ9xE6O3D+mVusZX2KTywjRB90RUdhRHVMw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775147056; c=relaxed/simple; bh=PyAQGXbvthsP8MV3AW4kYz64b7KWFKysrDWrGa/tTjI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=UQcbf8A5f0rYzCWWHMwg65/zOruabTMk/r5xj+dwtaxxem/2yblCMRayRVICC01t+Bk2iXcbkS82kKgBW2JGmu2wFgwJ7PoOryFUqZN2Bs19pPLX4Hg80LWY7HzhTpMOMljH4PLjvo5NNP0SU5VzMtq2iSF/7sQtxQxwOZPrAPg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=BRzMegNu; arc=none smtp.client-ip=209.85.128.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BRzMegNu" Received: by mail-yw1-f177.google.com with SMTP id 00721157ae682-79a46260385so10155937b3.3 for ; Thu, 02 Apr 2026 09:24:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775147052; x=1775751852; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=BbKKG4hJM1CuAV3VkhDnfcVyY36d0N0abiWE58/EJEY=; b=BRzMegNugKutxUPgm80VmtpIuyRUAIN0p+YxGDTlDVOX5L295MmCwoy1VNT1GvWup2 Qwl2H7GfbEX1t0dDOLqQTRswWrDRRD28uFZoRXSyw+O1m3DXRhWcf6mZuUoBxw0ggdxP d1kijo3jysxWosin29XnmxufrCl+UwXfp9LLEcPST7HxUA8C+cn5dDwzOjawHDYnidQQ ykiUZ0ZpTNaPoOKqOjkLnuqhn2D9Yr/haZlGwQmTCEYCIXbccZOYn0Xld016w2UoxrWt aG3n+BHj/3flJBKY38/tp5rJZszTQ8KN3V26BFuu1FqvT68jBqTWfU7poXKRA4uSQSrR IoDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775147052; x=1775751852; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=BbKKG4hJM1CuAV3VkhDnfcVyY36d0N0abiWE58/EJEY=; b=jrZg0PabtE1LIv2Gr8iTtLI7OBw6tCtsrgI99s5CIv8WMub16oVyJpxGwg2IrmxVeS woxa+krUaX5UBPpbMiOYfDMKzbWDoFbMA0VacYd9Q9biKOfIyCosMsddqBZJesbDZ/Sk 7QjWJ6Musj6GxRvOkoF5dpOJQ3iNQotNap3mZz52u4qy0C2bJdgngIE2d37qX5y5bUM3 JCV/UQFUCinTupCowE06uj21vD+fTPdJX7O1Chn4JTjOaa41Li2l5FcUBKA8KDAR8Xne sgz0EWilI1SbYy+DKgDmiJ9DTE7qgY3KXYMSWyzy4WQx516MhseYppozsPdyUPtcrH6f 4npA== X-Forwarded-Encrypted: i=1; AJvYcCVWE+8k/l0kQzqI3m7ReA8vG7Bm2lgJ2pBdv1pzcLm+ONIeZKrqEYmiQGHdv1QiZbC35tu2x2Lt8M9Vo2A=@vger.kernel.org X-Gm-Message-State: AOJu0Yz+SB0+3k9I5Uo9051ChW1cJsRp7Ai1kOauBU4wmcAz5mqLLZYR 9QAuQbPAB+OyWj0+R7qraQzaQC5QvBgpb3UIxqqTq99y2ktqdtVJO5zJ X-Gm-Gg: AeBDiesvs0wlrYcnABH1wnxsBK1vGS/Bf3wcKzfq863968c2kq6xxo0uIJPz2vib/Mr ddCHbGUPFoZ3Cow1lJuA/uRvSpuJIlVinHiKSymsF2qu7clmJEBVeFgCFBUCccbbtex5dpkks6Y 6rXmGN8d0+YiQOvivWcHpLFDGAqrKLLuU13FXe1FeLG9JummSwAHeGXFIo2L990D0d70kNMePwc yMdYgXPOPic/3NjEufODug9CybRB5UKZ3NDa3dMEaB7TOoXycTI/A1i8naJbzjvl5H5i8lklCto SHTCf7fy4ioDGy3m55sr8Xckjv+2O3QukIeTmQWZS2qi7DrQo+tcisyt5+0384zgMzdP+FxI1v5 ebvTS2kXDkL0A2taU3awpKvRfaIoKPCBYCUFIGfjhOi+KiE1gltmhOteYoRcueQvccyn9jU6IAE 4AJt4F3g2b3o7xv1Zrwd6RkiJ5IE39+p6q X-Received: by 2002:a05:690c:c4f9:b0:79a:b766:c034 with SMTP id 00721157ae682-7a2110792b9mr85670197b3.25.1775147052524; Thu, 02 Apr 2026 09:24:12 -0700 (PDT) Received: from [192.168.243.250] ([93.186.98.153]) by smtp.gmail.com with ESMTPSA id 00721157ae682-7a36ed2bb47sm12909577b3.21.2026.04.02.09.24.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Apr 2026 09:24:12 -0700 (PDT) From: Nikolay Kulikov Date: Thu, 02 Apr 2026 19:23:17 +0300 Subject: [PATCH v2 1/2] staging: rtl8723bs: remove dead code in rtw_io.c Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260402-cleanup_rtw_io-v2-1-8d12ef658e18@gmail.com> References: <20260402-cleanup_rtw_io-v2-0-8d12ef658e18@gmail.com> In-Reply-To: <20260402-cleanup_rtw_io-v2-0-8d12ef658e18@gmail.com> To: Greg Kroah-Hartman Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Nikolay Kulikov X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1775147048; l=2639; i=nikolayof23@gmail.com; s=20260402; h=from:subject:message-id; bh=PyAQGXbvthsP8MV3AW4kYz64b7KWFKysrDWrGa/tTjI=; b=CJ80EtUxg31FnjPCxgjCs3TrOYd0E2PtHoqEcfK2Y3ZOgyilzs6h68y5fDQQs/rJ3mueHVH4T X/ZlWXlhAT5BxGJsIGZ+FdiKOSnrInRYvIB1lp4CHMcaAse2+vbf9S8 X-Developer-Key: i=nikolayof23@gmail.com; a=ed25519; pk=2GWUU1isl5NJpkwSCQ4OG80EinZ3EUZXlrgAg6Pz5zI= Remove the commented variable declarations as they are not used anywhere. Signed-off-by: Nikolay Kulikov --- drivers/staging/rtl8723bs/core/rtw_io.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_io.c b/drivers/staging/rtl8723bs/core/rtw_io.c index 53ba99e1de00..ff16027ee129 100644 --- a/drivers/staging/rtl8723bs/core/rtw_io.c +++ b/drivers/staging/rtl8723bs/core/rtw_io.c @@ -27,7 +27,6 @@ u8 rtw_read8(struct adapter *adapter, u32 addr) { - /* struct io_queue *pio_queue = (struct io_queue *)adapter->pio_queue; */ struct io_priv *pio_priv = &adapter->iopriv; struct intf_hdl *pintfhdl = &pio_priv->intf; u8 (*_read8)(struct intf_hdl *pintfhdl, u32 addr); @@ -39,7 +38,6 @@ u8 rtw_read8(struct adapter *adapter, u32 addr) u16 rtw_read16(struct adapter *adapter, u32 addr) { - /* struct io_queue *pio_queue = (struct io_queue *)adapter->pio_queue; */ struct io_priv *pio_priv = &adapter->iopriv; struct intf_hdl *pintfhdl = &pio_priv->intf; u16 (*_read16)(struct intf_hdl *pintfhdl, u32 addr); @@ -51,7 +49,6 @@ u16 rtw_read16(struct adapter *adapter, u32 addr) u32 rtw_read32(struct adapter *adapter, u32 addr) { - /* struct io_queue *pio_queue = (struct io_queue *)adapter->pio_queue; */ struct io_priv *pio_priv = &adapter->iopriv; struct intf_hdl *pintfhdl = &pio_priv->intf; u32 (*_read32)(struct intf_hdl *pintfhdl, u32 addr); @@ -63,7 +60,6 @@ u32 rtw_read32(struct adapter *adapter, u32 addr) int rtw_write8(struct adapter *adapter, u32 addr, u8 val) { - /* struct io_queue *pio_queue = (struct io_queue *)adapter->pio_queue; */ struct io_priv *pio_priv = &adapter->iopriv; struct intf_hdl *pintfhdl = &pio_priv->intf; int (*_write8)(struct intf_hdl *pintfhdl, u32 addr, u8 val); @@ -78,7 +74,6 @@ int rtw_write8(struct adapter *adapter, u32 addr, u8 val) int rtw_write16(struct adapter *adapter, u32 addr, u16 val) { - /* struct io_queue *pio_queue = (struct io_queue *)adapter->pio_queue; */ struct io_priv *pio_priv = &adapter->iopriv; struct intf_hdl *pintfhdl = &pio_priv->intf; int (*_write16)(struct intf_hdl *pintfhdl, u32 addr, u16 val); @@ -92,7 +87,6 @@ int rtw_write16(struct adapter *adapter, u32 addr, u16 val) int rtw_write32(struct adapter *adapter, u32 addr, u32 val) { - /* struct io_queue *pio_queue = (struct io_queue *)adapter->pio_queue; */ struct io_priv *pio_priv = &adapter->iopriv; struct intf_hdl *pintfhdl = &pio_priv->intf; int (*_write32)(struct intf_hdl *pintfhdl, u32 addr, u32 val); -- 2.53.0