[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 <[email protected]>
Signed-off-by: Robert Love <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
Joe Eykholt 2009-08-25 14:01:29 -07:00 • committed by James Bottomley
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);