diff options
author | Ben Marsh <bmarsh94@gmail.com> | 2016-03-11 20:40:40 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-11 22:09:09 -0800 |
commit | 5ed316d27f942a729f3290a896c682ed299439bb (patch) | |
tree | d3190b9d4a4d235d0a39d2945d408c091c5d511d /drivers | |
parent | c7437f342d19840cf468b23e5588634ad9bed12e (diff) | |
download | op-kernel-dev-5ed316d27f942a729f3290a896c682ed299439bb.zip op-kernel-dev-5ed316d27f942a729f3290a896c682ed299439bb.tar.gz |
Staging: xgifb: remove useless blank lines
This is a patch to XGI_main_26.c that removes useless blanklines as
flagged by checkpatch.pl
Signed-off-by: Ben Marsh <bmarsh94@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/xgifb/XGI_main_26.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index cc55a17..7eadf92 100644 --- a/drivers/staging/xgifb/XGI_main_26.c +++ b/drivers/staging/xgifb/XGI_main_26.c @@ -226,7 +226,6 @@ void XGIRegInit(struct vb_device_info *XGI_Pr, unsigned long BaseAddr) XGI_Pr->Part4Port = BaseAddr + SIS_CRT2_PORT_14; /* 301 palette address port registers */ XGI_Pr->Part5Port = BaseAddr + SIS_CRT2_PORT_14 + 2; - } /* ------------------ Internal helper routines ----------------- */ @@ -315,10 +314,8 @@ static int XGIfb_validate_mode(struct xgifb_video_info *xgifb_info, int myindex) if (XGIbios_mode[myindex].bpp > 8) return -1; } - } goto check_memory; - } /* FIXME: for now, all is valid on XG27 */ @@ -518,7 +515,6 @@ check_memory: if (required_mem > xgifb_info->video_size) return -1; return myindex; - } static void XGIfb_search_crt2type(const char *name) |