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 staging: xgifb: Avoid multiple blank lines 2016-03-11 22:09:09 -08:00
vb_init.c staging: xgifb: fix block comments 2016-03-30 21:34:55 -07:00
vb_init.h staging: xgifb: Remove unnecessary externs 2015-08-14 18:51:56 -07:00
vb_setmode.c staging: xgifb: fix alignment for if arguments 2016-09-16 10:27:52 +02:00
vb_setmode.h staging: xgifb: Remove unnecessary externs 2015-08-14 18:51:56 -07:00
vb_struct.h staging: xgifb: Avoid multiple blank lines 2016-03-11 22:09:09 -08:00
vb_table.h staging: xgifb: fix block comments 2016-03-30 21:34:55 -07:00
vb_util.h staging: xgifb: fix bare use of 'unsigned' 2016-03-29 12:40:20 -07:00
vgatypes.h drivers: staging: xgifb: vgatypes.h: fixed coding style warnings 2016-02-07 20:14:12 -08:00
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