Commit:     2c35f813f3e98f70534b5c2d82e5e2079034fc50
Parent:     53dc80287da43b75df2fe2658651d3c5160dad8e
Author:     Ralf Baechle <[EMAIL PROTECTED]>
AuthorDate: Sat Mar 10 04:56:33 2007 +0000
Committer:  Ralf Baechle <[EMAIL PROTECTED]>
CommitDate: Sat Mar 17 01:03:26 2007 +0000

    [CHAR] lcd: Fix two warnings.
    In file included from drivers/char/lcd.c:23:
    include/linux/mc146818rtc.h:104:1: warning: "RTC_IO_EXTENT" redefined
    drivers/char/lcd.c:15:1: warning: this is the location of the previous 
    drivers/char/lcd.c:35: warning: 'lcd_lock' defined but not used
    c316eb1eee2c803c33b1f826fe744c922d2e354f deleted the last code using
    lcd_lock, so delete definition of lcd_lock.
    The definition of RTC_IO_EXTENT is unused and probably always was only
    debree copied from drivers/char/rtc.c.
    Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]>
 drivers/char/lcd.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/drivers/char/lcd.c b/drivers/char/lcd.c
index 5f4fdcf..1f09626 100644
--- a/drivers/char/lcd.c
+++ b/drivers/char/lcd.c
@@ -11,9 +11,6 @@
  *       March 2001: Ported from 2.0.34  by Liam Davies
-#define RTC_IO_EXTENT  0x10    /*Only really two ports, but... */
 #include <linux/types.h>
 #include <linux/errno.h>
 #include <linux/miscdevice.h>
@@ -32,8 +29,6 @@
 #include "lcd.h"
-static DEFINE_SPINLOCK(lcd_lock);
 static int lcd_ioctl(struct inode *inode, struct file *file,
                     unsigned int cmd, unsigned long arg);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to