LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] cirrusfb: remove unused variables
@ 2008-10-27  9:31 Vlada Peric
  2008-10-27 21:27 ` Krzysztof Helt
  0 siblings, 1 reply; 3+ messages in thread
From: Vlada Peric @ 2008-10-27  9:31 UTC (permalink / raw)
  To: linux-kernel; +Cc: krzysztof.h1

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>--- 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Ç+‰ˇŸŽ‰­†+%ŠË˙ąéÝś\x17ĽŠw˙ş{.nÇ+‰ˇĽŠ{ąţGŤé˙Š{ayş\x1dʇڙë,j\a­˘fŁ˘ˇhšďę˙‘ęçz_čŽ\x03(­éšŽŠÝ˘j"ú\x1aś^[m§˙˙ž\aŤţGŤé˙˘¸?™¨č­Ú&Łř§~áśiO•ćŹzˇšvŘ^\x14\x04\x1aś^[m§˙˙Ă\f˙śě˙˘¸?–IĽ

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] cirrusfb: remove unused variables
  2008-10-27  9:31 [PATCH] cirrusfb: remove unused variables Vlada Peric
@ 2008-10-27 21:27 ` Krzysztof Helt
  0 siblings, 0 replies; 3+ messages in thread
From: Krzysztof Helt @ 2008-10-27 21:27 UTC (permalink / raw)
  To: Vlada Peric; +Cc: linux-kernel, krzysztof.h1

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 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] cirrusfb: remove unused variables
@ 2008-11-19  6:17 Stephen Rothwell
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Rothwell @ 2008-11-19  6:17 UTC (permalink / raw)
  To: Krzysztof Helt; +Cc: LKML, Andrew Morton, Linus

Silences:

drivers/video/cirrusfb.c: In function 'cirrusfb_setup':
drivers/video/cirrusfb.c:2466: warning: unused variable 'i'
drivers/video/cirrusfb.c:2465: warning: unused variable 's'

introduced by commit a1d35a7a50d01b445e29d87f479f8c055a414f7e "cirrusfb:
use modedb and add mode_option parameter" which removed the uses of
these variables.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 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 8a87602..a2aa6dd 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.5.6.5

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-19  6:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-27  9:31 [PATCH] cirrusfb: remove unused variables Vlada Peric
2008-10-27 21:27 ` Krzysztof Helt
2008-11-19  6:17 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).