summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorJohn Whitmore <johnfwhitmore@gmail.com>2018-08-03 03:01:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-05 17:21:06 +0300
commita2351af9f562a77480ca91c970ea151ceba47c36 (patch)
tree1f9595deba7b7a50b72cc673b68cd288fde13dcd /tools/perf/scripts/python/netdev-times.py
parent8add1eb548d2867d6c82863823ac37f84bf6952d (diff)
downloadlinux-a2351af9f562a77480ca91c970ea151ceba47c36.tar.xz
staging:rtl8192u: Remove member variable rx_gain_range_max - Style
The structure 'dig' defines a member variable, (rx_gain_range_max) which is initialised to the value 'DM_DIG_MAX', (a defined constant). The variable is then used to test and set another variable. Since the member rx_gain_range_max is never assigned any other value then the constant 'DM_DIG_MAX' the code might as well simply use that constant, rather the a member variable set to that constant. The member variable has been removed and the constant used directly in the code. This is a coding style change which should not impact runtime code execution. Signed-off-by: John Whitmore <johnfwhitmore@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions