projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1622e0
)
TTY: synclink, remove superfluous check
author
Jiri Slaby
<jslaby@suse.cz>
Thu, 7 Mar 2013 12:12:26 +0000
(13:12 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 18 Mar 2013 23:17:20 +0000
(16:17 -0700)
info is obtained by container_of. It can never be NULL. So do not test
that.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/synclink.c
patch
|
blob
|
history
diff --git
a/drivers/tty/synclink.c
b/drivers/tty/synclink.c
index
8983276
..
72d6071
100644
(file)
--- a/
drivers/tty/synclink.c
+++ b/
drivers/tty/synclink.c
@@
-1058,9
+1058,6
@@
static void mgsl_bh_handler(struct work_struct *work)
container_of(work, struct mgsl_struct, task);
int action;
- if (!info)
- return;
-
if ( debug_level >= DEBUG_LEVEL_BH )
printk( "%s(%d):mgsl_bh_handler(%s) entry\n",
__FILE__,__LINE__,info->device_name);