Commit 4f670ff8 authored by Al Viro's avatar Al Viro Committed by Robert Love

debris left by "[SCSI] libfcoe: Remove mutex_trylock/restart_syscall checks"

	AFAICS, the situation for fcoe_transport_disable() seems to be
the same as for fcoe_transport_enable().  IOW, shouldn't it have
restart_syscall() removed as well?  I don't see any in-tree ->disable()
instances that could return -ERESTARTSYS, anyway...
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarRobert Love <robert.w.love@intel.com>
parent b8b3e697
......@@ -962,10 +962,6 @@ static int fcoe_transport_disable(const char *buffer, struct kernel_param *kp)
dev_put(netdev);
out_nodev:
mutex_unlock(&ft_mutex);
if (rc == -ERESTARTSYS)
return restart_syscall();
else
return rc;
}
......
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