OSDN Git Service

staging/xgifb: Remove unused variable
authorPeter Huewe <peterhuewe@gmx.de>
Tue, 5 Feb 2013 19:38:35 +0000 (20:38 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Feb 2013 19:55:08 +0000 (11:55 -0800)
commitfc008afff8eb78eedfd9de51b653c7b39fc74995
tree2f7a795256d355e5630b00ab31207ca484bdb952
parent4e98fcfb95dfd9c40976dcfa2f3b878eeec4dbaa
staging/xgifb: Remove unused variable

After the patch
'staging/xgifb: Don't write the same values x times'
the local variable i is unused, which leads to the following warning:

driverrs/staging/xgifb/vb_init.c: In function
‘XGINew_SetDRAMDefaultRegister340’:
drivers/staging/xgifb/vb_init.c:433:43: warning: unused variable ‘i’
[-Wunused-variable]

This patch fixes this

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_init.c