lkml.org 
[lkml]   [2008]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] cirrusfb: remove unused variables
On Mon, 27 Oct 2008 10:31:59 +0100
"Vlada Peric" <vlada.peric@gmail.com> wrote:

> 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ć <vlada.peric@gmail.com>
> CC: Krzysztof Helt <krzysztof.h1@wp.pl>
> ---

Acked-by: Krzysztof Helt <krzysztof.h1@wp.pl>

> drivers/video/cirrusfb.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/video/cirrusfb.c b/drivers/video/cirrusfb.c
> index 048b139..ace4001 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");
>
> --

----------------------------------------------------------------------
Konkurs! Wygraj m.in. telewizor LCD!
Sprawdz >> http://link.interia.pl/f1f52

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2008-10-27 21:27    [W:0.028 / U:1.536 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site