lkml.org 
[lkml]   [2008]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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ć <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.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");

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