projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3098e51
)
staging: dgnc: removes unreachable code
author
Daeseok Youn
<daeseok.youn@gmail.com>
Thu, 3 Jul 2014 10:13:06 +0000
(19:13 +0900)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 19:07:30 +0000
(12:07 -0700)
dgnc_tty_ioctl() cannot reach the end of function.
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgnc/dgnc_tty.c
patch
|
blob
|
history
diff --git
a/drivers/staging/dgnc/dgnc_tty.c
b/drivers/staging/dgnc/dgnc_tty.c
index f7409d90978119fbc1cd961a1ecc4ecf42d14377..c07ec74b8995c10ece995bc792abd4a39ae29d2b 100644
(file)
--- a/
drivers/staging/dgnc/dgnc_tty.c
+++ b/
drivers/staging/dgnc/dgnc_tty.c
@@
-3430,11
+3430,4
@@
static int dgnc_tty_ioctl(struct tty_struct *tty, unsigned int cmd,
return -ENOIOCTLCMD;
}
-
- DGNC_UNLOCK(ch->ch_lock, lock_flags);
-
- DPR_IOCTL(("dgnc_tty_ioctl end - cmd %s (%x), arg %lx\n",
- dgnc_ioctl_name(cmd), cmd, arg));
-
- return 0;
}