summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoe Eykholt <jeykholt@cisco.com>2009-08-25 23:01:29 +0200
committerJames Bottomley <James.Bottomley@suse.de>2009-09-10 19:07:44 +0200
commit786681b96fc1a5b94d187160b7bf80bf6b4681ed (patch)
treef15c89228d48057957d86ef468118a2c76dcce42 /include
parent[SCSI] libfc: fix rport event race between READY and LOGO (diff)
downloadlinux-786681b96fc1a5b94d187160b7bf80bf6b4681ed.tar.xz
linux-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')
-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);