From 7b0a95f89cdfa831995d14cf4fd97cbd0ee80460 Mon Sep 17 00:00:00 2001 From: Aaro Koskinen Date: Mon, 29 Aug 2011 23:14:22 +0300 Subject: [PATCH] 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 --- drivers/staging/xgifb/XGI_main_26.c | 2 -- 1 file changed, 2 deletions(-) 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; -- 2.34.1