mirror of
https://github.com/hardkernel/linux.git
synced 2026-05-31 16:26:41 +09:00
staging: xgifb: vb_setmode: delete empty if statement blocks
Delete empty if statement blocks. The patch eliminates following checkpatch.pl warnings: WARNING: suspect code indent for conditional statements (8, 8) Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
337a1a8f78
commit
ebe3302410
@@ -2312,9 +2312,7 @@ static void *XGI_GetTVPtr(unsigned short BX, unsigned short ModeNo,
|
||||
}
|
||||
|
||||
/* 07/05/22 */
|
||||
if (table == 0x00) {
|
||||
} else if (table == 0x01) {
|
||||
} else if (table == 0x04) {
|
||||
if (table == 0x04) {
|
||||
switch (tempdi[i].DATAPTR) {
|
||||
case 0:
|
||||
return &XGI_ExtPALData[tempal];
|
||||
@@ -2378,7 +2376,6 @@ static void *XGI_GetTVPtr(unsigned short BX, unsigned short ModeNo,
|
||||
default:
|
||||
break;
|
||||
}
|
||||
} else if (table == 0x06) {
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user