[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>
This commit is contained in:
Joe Eykholt
2009-08-25 14:01:29 -07:00
committed by James Bottomley
parent 00fea930d4
commit 786681b96f
2 changed files with 12 additions and 20 deletions

View File

@@ -679,7 +679,6 @@ struct fc_disc {
unsigned char requested;
unsigned short seq_count;
unsigned char buf_len;
enum fc_disc_event event;
void (*disc_callback)(struct fc_lport *,
enum fc_disc_event);