2008-10-27 09:32:18

by Vlada Peric

[permalink] [raw]
Subject: [PATCH] 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? <[email protected]>CC: Krzysztof Helt <[email protected]>--- drivers/video/cirrusfb.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/video/cirrusfb.c b/drivers/video/cirrusfb.cindex 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");
-- 1.6.0.3????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?


2008-10-27 20:24:37

by Krzysztof Helt

[permalink] [raw]
Subject: Re: [PATCH] cirrusfb: remove unused variables

On Mon, 27 Oct 2008 10:31:59 +0100
"Vlada Peric" <[email protected]> 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? <[email protected]>
> CC: Krzysztof Helt <[email protected]>
> ---

Acked-by: Krzysztof Helt <[email protected]>

> 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