staging: xgifb: fix multiple line dereference
This patch fixes the checkpatch.pl warning: WARNING: Avoid multiple line dereference - prefer'XGI330_EModeIDTable[ModeIdIndex].Ext_ModeFlag' Signed-off-by: Aastha Gupta <aastha.gupta4104@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
aabdabad35
commit
bb879fa3e3
|
@ -5479,8 +5479,9 @@ unsigned char XGISetModeNew(struct xgifb_video_info *xgifb_info,
|
||||||
ModeIdIndex))
|
ModeIdIndex))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
pVBInfo->ModeType = XGI330_EModeIDTable[ModeIdIndex].
|
pVBInfo->ModeType =
|
||||||
Ext_ModeFlag & ModeTypeMask;
|
XGI330_EModeIDTable[ModeIdIndex].Ext_ModeFlag
|
||||||
|
& ModeTypeMask;
|
||||||
|
|
||||||
pVBInfo->SetFlag = 0;
|
pVBInfo->SetFlag = 0;
|
||||||
pVBInfo->VBInfo = DisableCRT2Display;
|
pVBInfo->VBInfo = DisableCRT2Display;
|
||||||
|
|
Loading…
Reference in New Issue