summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2013-05-13 21:41:47 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-16 23:02:34 (GMT)
commit9195ba095d452ed1689570b938e9b5780b2b38a3 (patch)
tree60093dbe188d27fcdc841303b9435af1301317a3 /block
parentbcd1f16573e1975c8a78a29bbc68e483970d9bd8 (diff)
downloadlinux-fsl-qoriq-9195ba095d452ed1689570b938e9b5780b2b38a3.tar.xz
staging/xgifb: Consolidate function almost identical calls in XGINew_GetXG21Sense
Instead of calling xgifb_reg_and_or with almost identical parameters in a simple if/else scenario, we assign the changing parameter to a temp variable and call xgifb_reg_and_or only from one location. -> Easier to read, easier to understand (especially wrt the line breaks) (For the if condition we don't need the Temp variable, so we can use the value directly). Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions