OSDN Git Service

Staging: rtl8723au: rtl8723a_bt-coexist: Remove unused variable
authorShivani Bhardwaj <shivanib134@gmail.com>
Tue, 13 Oct 2015 23:34:00 +0000 (05:04 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 05:09:59 +0000 (22:09 -0700)
commitad942cb19b416fc64f17871372ee0932878861c0
treeee468e813331392e8685fc658e52c16172e64d33
parentf955a398f2cc5bc896388b8046c3c12fc5ec687b
Staging: rtl8723au: rtl8723a_bt-coexist: Remove unused variable

A variable is initialized and then assigned values in the code but is
never used and therefore, should be removed.
Semantic patch used:
@@
type T;
identifier i;
constant C;
position p != e.p;
@@

- T i@p;
  <+... when != i
- i = C;
  ...+>

Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/rtl8723a_bt-coexist.c