]> git.baikalelectronics.ru Git - kernel.git/commit
staging:rtl8192u: Remove member variable Enable - Style
authorJohn Whitmore <johnfwhitmore@gmail.com>
Fri, 3 Aug 2018 00:01:59 +0000 (01:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 5 Aug 2018 14:21:06 +0000 (16:21 +0200)
commite8c45eca970b6f8c0fbece4dafb594d0844c57c6
treee4ee09e258afca696da08a385d139ae83ed7526d
parentbdd31eae39ec7f4a8bb1b547b8d453cd362f189f
staging:rtl8192u: Remove member variable Enable - Style

The structure dynamic_rx_path_sel defines a member variable 'Enable'
which is initialised and later tested. The variable is however never
changed to the test is redundant and the member variable is then never
used.

The member variable, initialisation and test have all been removed.

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>
drivers/staging/rtl8192u/r8192U_dm.c
drivers/staging/rtl8192u/r8192U_dm.h