projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecfaa00
)
staging/xgifb: Remove unused variable
author
Peter Huewe
<peterhuewe@gmx.de>
Sun, 3 Feb 2013 03:08:42 +0000
(
04:08
+0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 01:26:13 +0000
(19:26 -0600)
Index is not used here -> remove.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_setmode.c
patch
|
blob
|
history
diff --git
a/drivers/staging/xgifb/vb_setmode.c
b/drivers/staging/xgifb/vb_setmode.c
index 53b55571fec64e0fb1e3f9b52604ebb6ee1ccedf..a7fb52fdd162d6937859edf51772b18017f25188 100644
(file)
--- a/
drivers/staging/xgifb/vb_setmode.c
+++ b/
drivers/staging/xgifb/vb_setmode.c
@@
-1390,14
+1390,10
@@
static void XGI_ModCRT1Regs(unsigned short ModeNo, unsigned short ModeIdIndex,
struct xgi_hw_device_info *HwDeviceExtension,
struct vb_device_info *pVBInfo)
{
- unsigned char index;
unsigned short i;
struct XGI_LVDSCRT1HDataStruct const *LCDPtr = NULL;
struct XGI_LVDSCRT1VDataStruct const *LCDPtr1 = NULL;
- index = XGI330_RefIndex[RefreshRateTableIndex].Ext_CRT2CRTC;
- index = index & IndexMask;
-
if (pVBInfo->VBInfo & (SetCRT2ToLCD | XGI_SetCRT2ToLCDA)) {
LCDPtr = XGI_GetLcdPtr(xgifb_epllcd_crt1_h, ModeNo, ModeIdIndex,
RefreshRateTableIndex, pVBInfo);