diff options
author | 2022-08-19 11:15:14 -0400 | |
---|---|---|
committer | 2022-08-22 18:30:24 -0700 | |
commit | f2e44dffa97f2e1c222a959ea5b6e604548b891b (patch) | |
tree | 1d265c27271aac617291965753a71cc40e5d31fd /scripts/generate_rust_analyzer.py | |
parent | bonding: 802.3ad: fix no transmission of LACPDUs (diff) | |
download | wireguard-linux-f2e44dffa97f2e1c222a959ea5b6e604548b891b.tar.xz wireguard-linux-f2e44dffa97f2e1c222a959ea5b6e604548b891b.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions