diff options
author | Jonathan Toppins <jtoppins@redhat.com> | 2022-08-19 11:15:14 -0400 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-22 18:30:24 -0700 |
commit | f2e44dffa97f2e1c222a959ea5b6e604548b891b (patch) | |
tree | 1d265c27271aac617291965753a71cc40e5d31fd /net/unix/unix_bpf.c | |
parent | d745b5062ad2b5da90a5e728d7ca884fc07315fd (diff) |
bonding: 3ad: make ad_ticks_per_sec a const
The value is only ever set once in bond_3ad_initialize and only ever
read otherwise. There seems to be no reason to set the variable via
bond_3ad_initialize when setting the global variable will do. Change
ad_ticks_per_sec to a const to enforce its read-only usage.
Signed-off-by: Jonathan Toppins <jtoppins@redhat.com>
Acked-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions