From: Rehas Sachdeva Date: Fri, 26 Feb 2016 12:17:51 +0000 (+0530) Subject: staging: xgifb: Avoid multiple blank lines X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c7437f342d19840cf468b23e5588634ad9bed12e;p=linux-beck.git staging: xgifb: Avoid multiple blank lines This patch removes the checkpatch.pl warnings regarding multiple blank lines as single blank line is the preferred coding style. Signed-off-by: Rehas Sachdeva Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/xgifb/vb_def.h b/drivers/staging/xgifb/vb_def.h index d9524a2e9ce4..94e2e3c7c264 100644 --- a/drivers/staging/xgifb/vb_def.h +++ b/drivers/staging/xgifb/vb_def.h @@ -228,7 +228,6 @@ #define RES1280x960x85 0x46 #define RES1280x960x120 0x47 - #define XG27_CR8F 0x0C #define XG27_SR36 0x30 #define XG27_SR40 0x04 diff --git a/drivers/staging/xgifb/vb_setmode.c b/drivers/staging/xgifb/vb_setmode.c index 2078d57e97a4..f97c77d88173 100644 --- a/drivers/staging/xgifb/vb_setmode.c +++ b/drivers/staging/xgifb/vb_setmode.c @@ -5067,7 +5067,6 @@ reg_and_or: } } - void XGI_UnLockCRT2(struct vb_device_info *pVBInfo) { xgifb_reg_and_or(pVBInfo->Part1Port, 0x2f, 0xFF, 0x01); diff --git a/drivers/staging/xgifb/vb_struct.h b/drivers/staging/xgifb/vb_struct.h index 0d27594554ca..2fd1a5935e1d 100644 --- a/drivers/staging/xgifb/vb_struct.h +++ b/drivers/staging/xgifb/vb_struct.h @@ -65,7 +65,6 @@ struct XGI330_TVDataTablStruct { struct SiS_TVData const *DATAPTR; }; - struct XGI_TimingHStruct { unsigned char data[8]; }; @@ -117,7 +116,6 @@ struct XGI_CRT1TableStruct { unsigned char CR[16]; }; - struct XGI301C_Tap4TimingStruct { unsigned short DE; unsigned char Reg[64]; /* C0-FF */ diff --git a/drivers/staging/xgifb/vb_table.h b/drivers/staging/xgifb/vb_table.h index f17e5b9bd333..45f2c992cd44 100644 --- a/drivers/staging/xgifb/vb_table.h +++ b/drivers/staging/xgifb/vb_table.h @@ -1140,7 +1140,6 @@ static const struct SiS_LVDSData XGI_LVDS1024x768Data_1[] = { {1344, 806, 1344, 806} /* 06 (512x384,1024x768) */ }; - static const struct SiS_LVDSData XGI_LVDS1024x768Data_2[] = { {1344, 806, 1344, 806}, {1344, 806, 1344, 806}, @@ -1228,7 +1227,6 @@ static const struct SiS_LVDSData XGI_LVDS1024x768Data_1x75[] = { {1312, 800, 1312, 800}, /* 06 (512x384,1024x768) */ }; - static const struct SiS_LVDSData XGI_LVDS1024x768Data_2x75[] = { {1312, 800, 1312, 800}, /* ; 00 (320x200,320x400,640x200,640x400) */ {1312, 800, 1312, 800}, /* ; 01 (320x350,640x350) */ @@ -2314,7 +2312,6 @@ static const unsigned char TVAntiFlickList[] = {/* NTSCAntiFlicker */ 0x00 /* ; 1 new anti-flicker ? */ }; - static const unsigned char TVEdgeList[] = { 0x00, /* ; 0 NTSC No Edge enhance */ 0x04, /* ; 1 NTSC Adaptive Edge enhance */