Commit b84c7962 authored by Joe Eykholt's avatar Joe Eykholt Committed by James Bottomley

[SCSI] libfc: remove unused disc->delay element

Delete unused disc->delay element.
Signed-off-by: default avatarJoe Eykholt <jeykholt@cisco.com>
Signed-off-by: default avatarRobert Love <robert.w.love@intel.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent 786681b9
...@@ -43,8 +43,6 @@ ...@@ -43,8 +43,6 @@
#define FC_DISC_RETRY_LIMIT 3 /* max retries */ #define FC_DISC_RETRY_LIMIT 3 /* max retries */
#define FC_DISC_RETRY_DELAY 500UL /* (msecs) delay */ #define FC_DISC_RETRY_DELAY 500UL /* (msecs) delay */
#define FC_DISC_DELAY 3
static void fc_disc_gpn_ft_req(struct fc_disc *); static void fc_disc_gpn_ft_req(struct fc_disc *);
static void fc_disc_gpn_ft_resp(struct fc_seq *, struct fc_frame *, void *); static void fc_disc_gpn_ft_resp(struct fc_seq *, struct fc_frame *, void *);
static int fc_disc_new_target(struct fc_disc *, struct fc_rport_priv *, static int fc_disc_new_target(struct fc_disc *, struct fc_rport_priv *,
...@@ -775,7 +773,6 @@ int fc_disc_init(struct fc_lport *lport) ...@@ -775,7 +773,6 @@ int fc_disc_init(struct fc_lport *lport)
INIT_LIST_HEAD(&disc->rports); INIT_LIST_HEAD(&disc->rports);
disc->lport = lport; disc->lport = lport;
disc->delay = FC_DISC_DELAY;
return 0; return 0;
} }
......
...@@ -674,7 +674,6 @@ struct libfc_function_template { ...@@ -674,7 +674,6 @@ struct libfc_function_template {
/* information used by the discovery layer */ /* information used by the discovery layer */
struct fc_disc { struct fc_disc {
unsigned char retry_count; unsigned char retry_count;
unsigned char delay;
unsigned char pending; unsigned char pending;
unsigned char requested; unsigned char requested;
unsigned short seq_count; unsigned short seq_count;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment