mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 01:40:53 +07:00
TTY: synclink, remove superfluous check
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>
This commit is contained in:
parent
b1622e0ac1
commit
049b539b39
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user