[SCSI] libfc: eliminate disc->event
authorJoe Eykholt <jeykholt@cisco.com>
Tue, 25 Aug 2009 21:01:29 +0000 (14:01 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Sep 2009 17:07:44 +0000 (12:07 -0500)
commit786681b96fc1a5b94d187160b7bf80bf6b4681ed
treef15c89228d48057957d86ef468118a2c76dcce42
parent00fea930d404b9a9039291d5a61975e6c2ea974e
[SCSI] libfc: eliminate disc->event

There was no need to have the discovery status stored in struct fc_disc.

Change fc_disc_done() to take the discovery status as an argument
and just pass it on to the discovery callback.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/libfc/fc_disc.c
include/scsi/libfc.h