summaryrefslogtreecommitdiff
path: root/drivers/staging/xgifb/vb_setmode.c
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@iki.fi>2012-04-06 22:14:09 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-10 17:20:09 (GMT)
commit354f49fa120b6aab10f96389849bd8a5d6a943c4 (patch)
treeb79ad12bcd153d8e8101df6e2ec11a08d2e7a26e /drivers/staging/xgifb/vb_setmode.c
parent36ae035b456f0aa7f3bfc8107f8f6f114b5da418 (diff)
downloadlinux-fsl-qoriq-354f49fa120b6aab10f96389849bd8a5d6a943c4.tar.xz
staging: xgifb: delete VB_ExtTVEdgeIndex
Delete VB_ExtTVEdgeIndex. It's 0 for all video modes. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/xgifb/vb_setmode.c')
-rw-r--r--drivers/staging/xgifb/vb_setmode.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/vb_setmode.c
index a93eec2..da4541c 100644
--- a/drivers/staging/xgifb/vb_setmode.c
+++ b/drivers/staging/xgifb/vb_setmode.c
@@ -5963,14 +5963,12 @@ static void XGI_SetEdgeEnhance(unsigned short ModeNo,
unsigned short ModeIdIndex,
struct vb_device_info *pVBInfo)
{
- unsigned short tempbx, index;
+ unsigned short tempbx;
unsigned char tempah;
tempbx = XGI_GetTVPtrIndex(pVBInfo);
tempbx &= 0xFE;
- index = pVBInfo->EModeIDTable[ModeIdIndex].VB_ExtTVEdgeIndex;
- tempbx += index;
tempah = TVEdgeList[tempbx];
tempah = tempah << 5;