lkml.org 
[lkml]   [2008]   [Nov]   [19]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    DateWed, 19 Nov 2008 17:17:08 +1100
    FromStephen Rothwell <>
    Subject[PATCH] cirrusfb: remove unused variables
    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/
    
    
    
    \
     
     \ /
      Last update: 2008-11-19 07:19    [from the cache]
    ©2003-2008