Skip to content

Commit

Permalink
debris left by "[SCSI] libfcoe: Remove mutex_trylock/restart_syscall …
Browse files Browse the repository at this point in the history
…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: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Robert Love <robert.w.love@intel.com>
  • Loading branch information
Al Viro authored and Robert Love committed Dec 14, 2012
1 parent b8b3e69 commit 4f670ff
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions drivers/scsi/fcoe/fcoe_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -962,11 +962,7 @@ 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;
return rc;
}

/**
Expand Down

0 comments on commit 4f670ff

Please sign in to comment.