aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDeepak R Varma <[email protected]>2022-11-05 16:45:52 +0530
committerGreg Kroah-Hartman <[email protected]>2022-11-08 16:26:49 +0100
commit11454ddeb2f68a1c03b90f0c2bba18570f1a3019 (patch)
tree65b0168701c0a93adfefffb9d27a41ec7efc27c3 /tools/perf/scripts/python
parentbb5b5e2104ca000888df89e35ff42c677df22671 (diff)
staging: rtl8723bs: replace underutilized struct by array variable
For structure iqk_matrix_regs_setting, only the "Value" member variable is utilized whereas the other struct members are only declared but not utilised. Replace the struct declaration and implementation by an equivalent variable similar to the only used struct member variable. While in there, update the macro mixed case names to uppercase style. The resultant code is simpler and is easy to maintain. Suggested-by: Dan Carpenter <[email protected]> Signed-off-by: Deepak R Varma <[email protected]> Link: https://lore.kernel.org/r/Y2ZF6O1KU3zZ6r3C@qemulion Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions