From: Aaro Koskinen Date: Mon, 29 Aug 2011 20:14:22 +0000 (+0300) Subject: staging: xgifb: XGIfb_setup(): delete redundant assignment X-Git-Tag: MMI-PSA29.97-13-9~18234^2^2~805 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7b0a95f89cdfa831995d14cf4fd97cbd0ee80460;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git staging: xgifb: XGIfb_setup(): delete redundant assignment The global data is already initialized to zero. Signed-off-by: Aaro Koskinen 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 2a5227290bfb..2e930257fdf0 100644 --- a/drivers/staging/xgifb/XGI_main_26.c +++ b/drivers/staging/xgifb/XGI_main_26.c @@ -1937,8 +1937,6 @@ static int __init XGIfb_setup(char *options) { char *this_opt; - xgi_video_info.refresh_rate = 0; - if (!options || !*options) return 0;