staging/xgifb: remove unnecessary temp variable in XGIfb_mode_rate_to_ddata
authorPeter Huewe <peterhuewe@gmx.de>
Sun, 3 Feb 2013 21:54:36 +0000 (22:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 18:46:27 +0000 (10:46 -0800)
commita5e080b83e28f2b67c198cb3be96f4b190522109
treeed72286fc323fef7f40ad794aa096555869cf0f6
parentbae31702cdc0db3d45d05aa6e073641c85918c50
staging/xgifb: remove unnecessary temp variable in XGIfb_mode_rate_to_ddata

Instead of subtracting one and then assign a different name and add 1
again we simply use HDE directly. HDE wasn't used directly before, so no
change in functionality.
Same applies to VDE.

-> now we can remove the variable with the very descriptive name E ;)

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