1
linux/drivers/staging/xgifb
Rehas Sachdeva cf5d327367 staging: xgifb: Remove unused variable and if statement
Setting the variable 'refresh_rate = 60;' has no use to the rest of the
function. Hence the if statement setting it and the variable itself can be
removed. This was detected using the following Coccinelle semantic patch:

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

Signed-off-by: Rehas Sachdeva <aquannie@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-22 11:54:47 +02:00
..
Kconfig
Makefile
TODO
vb_def.h
vb_init.c
vb_init.h
vb_setmode.c staging: xgifb: fix alignment for if arguments 2016-09-16 10:27:52 +02:00
vb_setmode.h
vb_struct.h
vb_table.h
vb_util.h
vgatypes.h
XGI_main_26.c staging: xgifb: Remove unused variable and if statement 2016-09-22 11:54:47 +02:00
XGI_main.h
XGIfb.h