]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] drivers/serial/jsm/: cleanups
authorAdrian Bunk <bunk@stusta.de>
Fri, 3 Feb 2006 11:04:31 +0000 (03:04 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 3 Feb 2006 16:32:08 +0000 (08:32 -0800)
- jsm_driver.c: remove the now unused jsm_rawreadok module_param
- jsm_tty.c: remove a now unused variable

Is there any problem with removing the now useless jsm_rawreadok
module_param?

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: V. Ananda Krishnan <mansarov@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/serial/jsm/jsm.h
drivers/serial/jsm/jsm_driver.c
drivers/serial/jsm/jsm_tty.c

index 18753193f59b7be467af3bb3a3eca1cd67889341..dfc1e86d3aa119b5977a3d6efc9abbcdeafe67e4 100644 (file)
@@ -380,7 +380,6 @@ struct neo_uart_struct {
 extern struct  uart_driver jsm_uart_driver;
 extern struct  board_ops jsm_neo_ops;
 extern int     jsm_debug;
-extern int     jsm_rawreadok;
 
 /*************************************************************************
  *
index 7e56c78241945975081657176342f0416c935cd7..b1b66e71d281125f990a9dc742ef56dc48786c3e 100644 (file)
@@ -49,11 +49,8 @@ struct uart_driver jsm_uart_driver = {
 };
 
 int jsm_debug;
-int jsm_rawreadok;
 module_param(jsm_debug, int, 0);
-module_param(jsm_rawreadok, int, 0);
 MODULE_PARM_DESC(jsm_debug, "Driver debugging level");
-MODULE_PARM_DESC(jsm_rawreadok, "Bypass flip buffers on input");
 
 static int jsm_probe_one(struct pci_dev *pdev, const struct pci_device_id *ent)
 {
index 07bf28ca330237db27d31b616d010e680fbc645b..4d48b625cd3d9f7fdc67e76b6a742372b3f28953 100644 (file)
@@ -508,7 +508,6 @@ void jsm_input(struct jsm_channel *ch)
        int flip_len = 0;
        int len = 0;
        int n = 0;
-       char *buf = NULL;
        int s = 0;
        int i = 0;