staging: dgnc: removes unreachable code
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>
This commit is contained in:
parent
3098e51468
commit
354579c2ee
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue