Article View: linux.kernel.netdev
Article #1929[PATCH net-next] net: dsa: realtek: Remove unused buffer from struct realtek_priv
From: Thorsten Blum
Date: Sun, 11 Oct 2026 13:12
Date: Sun, 11 Oct 2026 13:12
20 lines
6035 bytes
6035 bytes
The buffer has never been used. Remove it.
Signed-off-by: Thorsten Blum <blum@kernel.org>
---
drivers/net/dsa/realtek/realtek.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/dsa/realtek/realtek.h b/drivers/net/dsa/realtek/realtek.h
index 6e0148cee8d8..ca3a71876599 100644
--- a/drivers/net/dsa/realtek/realtek.h
+++ b/drivers/net/dsa/realtek/realtek.h
@@ -97,7 +97,6 @@ struct realtek_priv {
int vlan_enabled;
int vlan4k_enabled;
- char buf[4096];
void *chip_data; /* Per-chip extra variant data */
};
Technical Details
Message-ID:
<20261011131208.272131-3-blum@kernel.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-344498-linux-kernel-netdev=dewy.ruShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-344498-linux-kernel-netdev=dewy.ru From: blum@kernel.org (Thorsten Blum) Newsgroups: linux.kernel.netdev Subject: [PATCH net-next] net: dsa: realtek: Remove unused buffer from struct realtek_priv Date: Sun, 11 Oct 2026 15:12:10 +0200 Organization: Usenet Network Message-ID: <20261011131208.272131-3-blum@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="1544631"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:w2NGjeHpDq4CUs8Wf/thRNbjPfk= sha256:npunuReRMriPk37fjjsvlAzwDLtpUPeaSw4EB/YUiBQ= sha1:qZZIhCrvy9+rwbDzdrnZD0QcTgA= sha256:nO/S7DhMOZnN6i+QUIYkZpFl2/8je0+4feS5LMa2iZY= List-ID: <netdev.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 6687B10FA00; Sun, 11 Oct 2026 16:14:13 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -1.341 X-Spam-Status: No, score=-1.341 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=kernel.org X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VXyerwi8YBy1; Sun, 11 Oct 2026 16:14:08 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-344498-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id E2C9C10F9F2; Sun, 11 Oct 2026 16:14:03 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sea.lore.kernel.org (Postfix) with ESMTP id 0A21626EDF; Sun, 11 Oct 2026 13:12:55 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 92DC5449EA5; Sun, 11 Oct 2026 13:12:54 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hNDOMgB+" X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 210DA3B0587; Sun, 11 Oct 2026 13:12:51 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791724374; cv=none; b=Q18YPjHwG7gzyECzUoIYUmJPksvlztSSoc7YyIU2/p27rRK65E9aq+4sGamIQ3aioKWKnt+k5XuikktikEzhY+21DPROVBTCYmyDs0uaY5oMU+k9DKzNrdikyTMGROjzAVtPq2lN+1hWRbyCKeLdy3Athn/HesrUPWZWVavFy5I= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791724374; c=relaxed/simple; bh=+rhbf1TUuMeAIAiZ3OqBQvQEbKTOw8e31SX4gTUCD14=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ZVc6gofM6gnx5u4/5ivHEEJ9keKyvtySyJeAAfcSMyXKdL1sDgTYi81sAQ1XBb+gqjIvHutcDhPFyaVtdgP02N3n6Gu5elGVSqYqFl+WecZg3bPsk5J8iQkUO6GThhWtOnttubAO5nEZ0St9nbyixDU73a6MmVfyPD2nLnbe9ds= X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hNDOMgB+; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 827C41F0089B; Sun, 11 Oct 2026 13:12:48 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791724371; bh=xguvO7Z0rKWV6cXidAMAFxVoApZEw+GahybnuKsVk3A=; h=From:To:Cc:Subject:Date; b=hNDOMgB+fS0BQfzcrRKQha1hr0RdNXuoKaX3n1NuVpYio9PBOaob4ZfgzcjIcOAv8 WmpqVNn0Qo2CwZgKQzz5wz6Y6BC/Ck1gON2Pmxqi20QaG0T/OBa2vlPMzc4ZtX0eNS V8qdEqJ6o/EU3Pgq/dt/p69dZN1SkKU36yn8V5f0htpM3sxcFFsgQ49XYCBAShLYxH HgZqjVeVPN4RqHokaHcAOQwdmoigU/wENvYSZ5dXDzP9aiR+umwtxsuDX6ZEE8cmJb xy6DYwnsCBWcmDbnMGaykI+Zu1q9L1ReOVMBKnz4++w7KLnvh4uojVmh3h0hFoJLhG qSc39T/c7Bqzw== X-Cc: Thorsten Blum <blum@kernel.org>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: git-send-email 2.56.0 X-Precedence: bulk X-Mailing-List: netdev@vger.kernel.org X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org> X-Developer-Signature: v=1; a=openpgp-sha256; l=559; i=blum@kernel.org; h=from:subject; bh=+rhbf1TUuMeAIAiZ3OqBQvQEbKTOw8e31SX4gTUCD14=; b=owGbwMvMwCUWt7pQ4caZUj3G02pJDFmnuzWmSu99aH3J/teP9T+X8PrLL65n8cjd5LykcZ1/i /x1r4NfOkpZGMS4GGTFFFkezPoxw7e0pnKTScROmDmsTCBDGLg4BWAiZh8YGW4aiIb/cKo7XX+p I+0/Y3vRlHcyU8z0GAR6Dnx3KF1zRp3hvz/zTMvaOP9ZzjPcwxf9CPq0fjf3UYmCGP9lX849/jx PkgMA X-Developer-Key: i=blum@kernel.org; a=openpgp; fpr=1D60735E8AEF3BE473B69D84733678FD8DFEEAD4