OSDN Git Service

[SCSI] fcoe: initialize return value in fcoe_destroy
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 21 Oct 2009 23:27:44 +0000 (16:27 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 4 Dec 2009 18:00:31 +0000 (12:00 -0600)
commit8eca355fa8af660557fbdd5506bde1392eee9bfe
tree9c42e36295ad001aa4d898ae890be1d8d68b20d8
parente95147d8fa4e63bf6d8ff249f074d0047338fc61
[SCSI] fcoe: initialize return value in fcoe_destroy

When doing echo ethX > /sys..../destroy I am getting
errors when the tear down succeeds. It looks like the
reason for this is because the rc var is not getting set
when the destruction works. This just sets it to zero.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/fcoe.c