Skip to content

Commit

Permalink
[PATCH] drivers/serial/jsm/: cleanups
Browse files Browse the repository at this point in the history
- 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>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Feb 3, 2006
1 parent 0a577ce commit 1374ae8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion drivers/serial/jsm/jsm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

/*************************************************************************
*
Expand Down
3 changes: 0 additions & 3 deletions drivers/serial/jsm/jsm_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
1 change: 0 additions & 1 deletion drivers/serial/jsm/jsm_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 1374ae8

Please sign in to comment.