aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorPaolo Abeni2022-11-22 15:36:45 +0100
committerPaolo Abeni2022-11-22 15:36:46 +0100
commit339e79dfb087075cbc27d3a902457574c4dac182 (patch)
treea221771b553227cd3214a53bdb571ef4af6e9abb /net
parent837a3d66d698516ad2330e122eba9752ec3a48ed (diff)
parent877e7b7c3b12d78f0488b767ed10ec21166ee422 (diff)
Merge branch 'cleanup-ocelot_stats-exposure'
Colin Foster says: ==================== cleanup ocelot_stats exposure The ocelot_stats structures became redundant across all users. Replace this redundancy with a static const struct. After doing this, several definitions inside include/soc/mscc/ocelot.h no longer needed to be shared. Patch 2 removes them. Checkpatch throws an error for a complicated macro not in parentheses. I understand the reason for OCELOT_COMMON_STATS was to allow expansion, but interestingly this patch set is essentially reverting the ability for expansion. I'm keeping the macro in this set, but am open to remove it, since it doesn't _actually_ provide any immediate benefits anymore. ==================== Link: https://lore.kernel.org/r/20221119231406.3167852-1-colin.foster@in-advantage.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions