Commit 1374ae8b authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

[PATCH] drivers/serial/jsm/: cleanups

- 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: default avatarAdrian Bunk <bunk@stusta.de>
Cc: V. Ananda Krishnan <mansarov@us.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 0a577ce3
...@@ -380,7 +380,6 @@ struct neo_uart_struct { ...@@ -380,7 +380,6 @@ struct neo_uart_struct {
extern struct uart_driver jsm_uart_driver; extern struct uart_driver jsm_uart_driver;
extern struct board_ops jsm_neo_ops; extern struct board_ops jsm_neo_ops;
extern int jsm_debug; extern int jsm_debug;
extern int jsm_rawreadok;
/************************************************************************* /*************************************************************************
* *
......
...@@ -49,11 +49,8 @@ struct uart_driver jsm_uart_driver = { ...@@ -49,11 +49,8 @@ struct uart_driver jsm_uart_driver = {
}; };
int jsm_debug; int jsm_debug;
int jsm_rawreadok;
module_param(jsm_debug, int, 0); module_param(jsm_debug, int, 0);
module_param(jsm_rawreadok, int, 0);
MODULE_PARM_DESC(jsm_debug, "Driver debugging level"); 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) static int jsm_probe_one(struct pci_dev *pdev, const struct pci_device_id *ent)
{ {
......
...@@ -508,7 +508,6 @@ void jsm_input(struct jsm_channel *ch) ...@@ -508,7 +508,6 @@ void jsm_input(struct jsm_channel *ch)
int flip_len = 0; int flip_len = 0;
int len = 0; int len = 0;
int n = 0; int n = 0;
char *buf = NULL;
int s = 0; int s = 0;
int i = 0; int i = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment