summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-11-19 13:23:40 +0300
committerJakub Kicinski <kuba@kernel.org>2025-11-21 04:57:40 +0300
commitefd3c8cc52bb9583183ebb83c8c55b23bf97cb2f (patch)
treefd05203fae0a1062729e51a5eb7eb3e4d04bff02 /include
parente676cc8561c86799f9e12f8cea550c226130821a (diff)
downloadlinux-efd3c8cc52bb9583183ebb83c8c55b23bf97cb2f.tar.xz
net: stmmac: remove axi_blen array
Remove the axi_blen array from struct stmmac_axi as we set this array, and then immediately convert it ot the register value, never looking at the array again. Thus, the array can be function local rather than part of a run-time allocated long-lived struct. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/E1vLfLg-0000000FMbD-1vmh@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/stmmac.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
index d1a41fe0825f..f1054b9c2d8a 100644
--- a/include/linux/stmmac.h
+++ b/include/linux/stmmac.h
@@ -114,7 +114,6 @@ struct stmmac_axi {
u32 axi_rd_osr_lmt;
bool axi_kbbe;
u32 axi_blen_regval;
- u32 axi_blen[AXI_BLEN];
bool axi_fb;
bool axi_mb;
bool axi_rb;