Re: [PATCH] cirrusfb: remove unused variables

From: Krzysztof Helt
Date: Mon Oct 27 2008 - 16:24:38 EST


On Mon, 27 Oct 2008 10:31:59 +0100
"Vlada Peric" <vlada.peric@xxxxxxxxx> 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@xxxxxxxxx>
> CC: Krzysztof Helt <krzysztof.h1@xxxxx>
> ---

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

> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/