fcoe: initialize return value in fcoe_destroy
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 21 Oct 2009 23:27:44 +0000 (16:27 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Jan 2010 23:01:34 +0000 (15:01 -0800)
commit88cc93a1148a8a2f56a556a4f511837056556c4e
tree6a5c9d24156470a5b1aece912545693cb66ee5b4
parent7c8a0dc2b096fb9acf7dea76cc7935da8aeb711d
fcoe: initialize return value in fcoe_destroy

commit 8eca355fa8af660557fbdd5506bde1392eee9bfe upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/scsi/fcoe/fcoe.c