]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: rtlwifi: Remove unused variable and the code
authorShreeya Patel <shreeya.patel23498@gmail.com>
Thu, 21 Dec 2017 22:28:21 +0000 (03:58 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:45:45 +0000 (16:45 +0100)
commit39551c37e3dad4bc4a32a9f7d25186f2e4aa38ee
tree794217c99cc662a51f0fdec96f282495a372adb2
parent9347e23dc771b3983d02eeef6a5487e5805caead
Staging: rtlwifi: Remove unused variable and the code

Remove unused variable and also remove unused code
associated with initializing the unused variable.

Unused variable was detected using the following
semantic patch by coccinelle.

@@
type T;
identifier i;
constant C;
@@

(
extern T i;
|
- T i;
  <+... when != i
- i = C;
  ...+>
)

Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com>
drivers/staging/rtlwifi/btcoexist/halbtcoutsrc.c