OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc98d96
)
nozomi: Fix warning from the previous TIOCGCOUNT changes
author
Alan Cox
<alan@linux.intel.com>
Tue, 26 Oct 2010 14:56:34 +0000
(15:56 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 9 Nov 2010 22:49:38 +0000
(14:49 -0800)
Just remove a now unused variable
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/char/nozomi.c
patch
|
blob
|
history
diff --git
a/drivers/char/nozomi.c
b/drivers/char/nozomi.c
index
dd3f9b1
..
294d03e
100644
(file)
--- a/
drivers/char/nozomi.c
+++ b/
drivers/char/nozomi.c
@@
-1828,7
+1828,6
@@
static int ntty_ioctl(struct tty_struct *tty, struct file *file,
unsigned int cmd, unsigned long arg)
{
struct port *port = tty->driver_data;
- void __user *argp = (void __user *)arg;
int rval = -ENOIOCTLCMD;
DBG1("******** IOCTL, cmd: %d", cmd);