staging/xgifb: Don't write the same values x times
authorPeter Huewe <peterhuewe@gmx.de>
Mon, 4 Feb 2013 23:29:45 +0000 (00:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Feb 2013 19:16:21 +0000 (11:16 -0800)
commit1504ecbeecfb206179e39d66d7f4d4af542ec45c
tree3208f3b13ea049e290b569a5e6d0e7e434aa045e
parent0141bb2ed95d87cbcc53ebd282b943d061881fce
staging/xgifb: Don't write the same values x times

With the previous patch 'Move duplicated code for dram to helper
function' it becomes evident that the code is performing the same
thing 4 or 8 times in a row without changing arguments to the function
and thus writing the same values over and over again.

It was tested that these repeats are unnecessary.

-> we can safely remove them.

Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_init.c