mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-08 19:55:16 -05:00
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 <[email protected]> Acked-by: Julia Lawall <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
aabdabad35
commit
bb879fa3e3
1 changed files with 3 additions and 2 deletions
|
|
@ -5479,8 +5479,9 @@ unsigned char XGISetModeNew(struct xgifb_video_info *xgifb_info,
|
|||
ModeIdIndex))
|
||||
return 0;
|
||||
|
||||
pVBInfo->ModeType = XGI330_EModeIDTable[ModeIdIndex].
|
||||
Ext_ModeFlag & ModeTypeMask;
|
||||
pVBInfo->ModeType =
|
||||
XGI330_EModeIDTable[ModeIdIndex].Ext_ModeFlag
|
||||
& ModeTypeMask;
|
||||
|
||||
pVBInfo->SetFlag = 0;
|
||||
pVBInfo->VBInfo = DisableCRT2Display;
|
||||
|
|
|
|||
Loading…
Reference in a new issue