Commit 049b539b authored by Jiri Slaby's avatar Jiri Slaby Committed by Greg Kroah-Hartman

TTY: synclink, remove superfluous check

info is obtained by container_of. It can never be NULL. So do not test
that.
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b1622e0a
...@@ -1058,9 +1058,6 @@ static void mgsl_bh_handler(struct work_struct *work) ...@@ -1058,9 +1058,6 @@ static void mgsl_bh_handler(struct work_struct *work)
container_of(work, struct mgsl_struct, task); container_of(work, struct mgsl_struct, task);
int action; int action;
if (!info)
return;
if ( debug_level >= DEBUG_LEVEL_BH ) if ( debug_level >= DEBUG_LEVEL_BH )
printk( "%s(%d):mgsl_bh_handler(%s) entry\n", printk( "%s(%d):mgsl_bh_handler(%s) entry\n",
__FILE__,__LINE__,info->device_name); __FILE__,__LINE__,info->device_name);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment