From: Miguel Gómez Date: Fri, 6 Jul 2012 10:40:41 +0000 (+0200) Subject: Staging: xgifb: Remove useless switch in XGIfb_detect_VB(). X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1cd17030813007578e7b5eb0aa7dec13d6ed9a09;p=linux-beck.git Staging: xgifb: Remove useless switch in XGIfb_detect_VB(). The switch performs no action so it can be removed. Signed-off-by: Miguel Gómez Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index d5c87eae5cf4..788d141beca4 100644 --- a/drivers/staging/xgifb/XGI_main_26.c +++ b/drivers/staging/xgifb/XGI_main_26.c @@ -1556,16 +1556,6 @@ static void XGIfb_detect_VB(struct xgifb_video_info *xgifb_info) xgifb_info->TV_plug = xgifb_info->TV_type = 0; - switch (xgifb_info->hasVB) { - case HASVB_LVDS_CHRONTEL: - case HASVB_CHRONTEL: - break; - case HASVB_301: - case HASVB_302: - /* XGI_Sense30x(); */ /* Yi-Lin TV Sense? */ - break; - } - cr32 = xgifb_reg_get(XGICR, IND_XGI_SCRATCH_REG_CR32); if ((cr32 & SIS_CRT1) && !XGIfb_crt1off)