diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2013-05-17 22:19:54 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-05-17 22:47:18 (GMT) |
commit | 7580d7feb44516546fde01aeb0cfca0860c690d3 (patch) | |
tree | 060a7b4e5d88850f3dabaa0fc405bc390b63fae8 /drivers/staging/xgifb/vb_init.c | |
parent | f13ab92effb94c8fc5eade75f6f246facd7ef5be (diff) | |
download | linux-fsl-qoriq-7580d7feb44516546fde01aeb0cfca0860c690d3.tar.xz |
staging/xgifb: Remove dead assignments/increments
The code now contains several dead assignments which are shadowed by
another assignment a few lines later.
-> This patch removes them (and possibly associated code).
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/xgifb/vb_init.c')
-rw-r--r-- | drivers/staging/xgifb/vb_init.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/xgifb/vb_init.c b/drivers/staging/xgifb/vb_init.c index 090c424..5c72104 100644 --- a/drivers/staging/xgifb/vb_init.c +++ b/drivers/staging/xgifb/vb_init.c @@ -1296,7 +1296,6 @@ unsigned char XGIInitNew(struct pci_dev *pdev) xgifb_reg_set(pVBInfo->Part1Port, 0x00, 0x00); /* chk if BCLK>=100MHz */ temp1 = xgifb_reg_get(pVBInfo->P3d4, 0x7B); - temp = (unsigned char) ((temp1 >> 4) & 0x0F); xgifb_reg_set(pVBInfo->Part1Port, 0x02, XGI330_CRT2Data_1_2); |