diff options
author | Kelvin Cao <[email protected]> | 2021-11-18 16:38:03 -0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2021-11-19 12:14:02 -0600 |
commit | b76521f6482d2a2a691e4eb1a496d55d73aea064 (patch) | |
tree | 7ba6c754ee46bdda93ec71276e0f9869480f336d /net/lapb/lapb_timer.c | |
parent | bb17b15813eacc85ae8cb0c3901408ba051ebf91 (diff) |
PCI/switchtec: Declare local state_names[] as static
The local state_names[] array is constant and need not be allocated and
populated each time we enter stuser_set_state(). Declare it as static.
See the link below for the discussion.
https://lore.kernel.org/r/[email protected]/
[bhelgaas: simplify commit log]
Suggested-by: Krzysztof WilczyĆski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kelvin Cao <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Logan Gunthorpe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions