From: Vlada Peric Date: Wed, 19 Nov 2008 23:36:45 +0000 (-0800) Subject: cirrusfb: remove unused variables X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ee11940f8e7a2f064af22d52180cb5f9643eef61;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git cirrusfb: remove unused variables After commit a1d35a7a (cirrusfb: use modedb and add mode_option parameter), these variables are no longer used, so remove them to fix compilation warning. Signed-off-by: Vlada PeriƦ Acked-by: Krzysztof Helt Cc: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/cirrusfb.c b/drivers/video/cirrusfb.c index 8a8760230bc..a2aa6ddffbe 100644 --- a/drivers/video/cirrusfb.c +++ b/drivers/video/cirrusfb.c @@ -2462,8 +2462,7 @@ static int __init cirrusfb_init(void) #ifndef MODULE static int __init cirrusfb_setup(char *options) { - char *this_opt, s[32]; - int i; + char *this_opt; DPRINTK("ENTER\n");