aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorJoe Eykholt <jeykholt@cisco.com>2009-08-25 17:01:29 -0400
committerJames Bottomley <James.Bottomley@suse.de>2009-09-10 13:07:44 -0400
commit786681b96fc1a5b94d187160b7bf80bf6b4681ed (patch)
treef15c89228d48057957d86ef468118a2c76dcce42 /include/scsi
parent00fea930d404b9a9039291d5a61975e6c2ea974e (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/scsi')
-rw-r--r--include/scsi/libfc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h
index bf4b1c2ec60..f3f320f1d39 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);