staging/xgifb: Remove unused variables and dead assignments
authorPeter Huewe <peterhuewe@gmx.de>
Sun, 3 Feb 2013 03:08:41 +0000 (04:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 01:26:13 +0000 (19:26 -0600)
commitecfaa00c00904270ecff5b5e4c44b514be62645f
tree98d54d99e940f379946c8cdfb57b11987e2d86fc
parente2d979ccb73928bb22201a9d9035d0169aa37691
staging/xgifb: Remove unused variables and dead assignments

The variables A,HBS and VBS are never read in XGIfb_mode_rate_to_ddata
and the assignment has no side effects -> so we can simply remove them.
Removing them causes VT, HT and cr_data3 to be unused -> remove them as well
and remove the assignmens to cr_data which are shadowed by a different
assignment a few lines later.

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