diff options
author | Joe Eykholt <jeykholt@cisco.com> | 2009-08-25 17:01:29 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-09-10 13:07:44 -0400 |
commit | 786681b96fc1a5b94d187160b7bf80bf6b4681ed (patch) | |
tree | f15c89228d48057957d86ef468118a2c76dcce42 /include | |
parent | 00fea930d404b9a9039291d5a61975e6c2ea974e (diff) |
[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>
Diffstat (limited to 'include')
-rw-r--r-- | include/scsi/libfc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index bf4b1c2ec600..f3f320f1d399 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h | |||
@@ -679,7 +679,6 @@ struct fc_disc { | |||
679 | unsigned char requested; | 679 | unsigned char requested; |
680 | unsigned short seq_count; | 680 | unsigned short seq_count; |
681 | unsigned char buf_len; | 681 | unsigned char buf_len; |
682 | enum fc_disc_event event; | ||
683 | 682 | ||
684 | void (*disc_callback)(struct fc_lport *, | 683 | void (*disc_callback)(struct fc_lport *, |
685 | enum fc_disc_event); | 684 | enum fc_disc_event); |