summaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
authorJoe Eykholt <jeykholt@cisco.com>2009-08-25 14:01:29 -0700
committerJames Bottomley <James.Bottomley@suse.de>2009-09-10 12:07:44 -0500
commit786681b96fc1a5b94d187160b7bf80bf6b4681ed (patch)
treef15c89228d48057957d86ef468118a2c76dcce42 /include/scsi
parent00fea930d404b9a9039291d5a61975e6c2ea974e (diff)
downloadlwn-786681b96fc1a5b94d187160b7bf80bf6b4681ed.tar.gz
lwn-786681b96fc1a5b94d187160b7bf80bf6b4681ed.zip
[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 bf4b1c2ec600..f3f320f1d399 100644
--- a/include/scsi/libfc.h
+++ b/include/scsi/libfc.h
@@ -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);