aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJonathan Toppins <jtoppins@redhat.com>2022-08-19 11:15:14 -0400
committerJakub Kicinski <kuba@kernel.org>2022-08-22 18:30:24 -0700
commitf2e44dffa97f2e1c222a959ea5b6e604548b891b (patch)
tree1d265c27271aac617291965753a71cc40e5d31fd /scripts/generate_rust_analyzer.py
parentbonding: 802.3ad: fix no transmission of LACPDUs (diff)
downloadwireguard-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