Kaynağa Gözat

[PATCH] m68k/MVME167: SERIAL167 is no longer broken

- SERIAL167 is no longer broken
- Removed some unused variables from the driver to fix compiler warnings

Signed-off-by: Kars de Jong <jongk@linux-m68k.org>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Geert Uytterhoeven 19 yıl önce
ebeveyn
işleme
ea62aa1b6f
2 değiştirilmiş dosya ile 1 ekleme ve 3 silme
  1. 1 1
      arch/m68k/Kconfig
  2. 0 2
      drivers/char/serial167.c

+ 1 - 1
arch/m68k/Kconfig

@@ -600,7 +600,7 @@ config MVME147_SCC
 
 
 config SERIAL167
 config SERIAL167
 	bool "CD2401 support for MVME166/7 serial ports"
 	bool "CD2401 support for MVME166/7 serial ports"
-	depends on MVME16x && BROKEN
+	depends on MVME16x
 	help
 	help
 	  This is the driver for the serial ports on the Motorola MVME166,
 	  This is the driver for the serial ports on the Motorola MVME166,
 	  167, and 172 boards.  Everyone using one of these boards should say
 	  167, and 172 boards.  Everyone using one of these boards should say

+ 0 - 2
drivers/char/serial167.c

@@ -1422,7 +1422,6 @@ cy_tiocmget(struct tty_struct *tty, struct file *file)
   volatile unsigned char *base_addr = (u_char *)BASE_ADDR;
   volatile unsigned char *base_addr = (u_char *)BASE_ADDR;
   unsigned long flags;
   unsigned long flags;
   unsigned char status;
   unsigned char status;
-  unsigned int result;
 
 
     channel = info->line;
     channel = info->line;
 
 
@@ -1446,7 +1445,6 @@ cy_tiocmset(struct tty_struct *tty, struct file *file,
   int channel;
   int channel;
   volatile unsigned char *base_addr = (u_char *)BASE_ADDR;
   volatile unsigned char *base_addr = (u_char *)BASE_ADDR;
   unsigned long flags;
   unsigned long flags;
-  unsigned int arg;
 	  
 	  
     channel = info->line;
     channel = info->line;