Skip to content

Commit

Permalink
[SCSI] libfc: remove unused disc->delay element
Browse files Browse the repository at this point in the history
Delete unused disc->delay element.

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>
  • Loading branch information
Joe Eykholt authored and James Bottomley committed Sep 10, 2009
1 parent 786681b commit b84c796
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions drivers/scsi/libfc/fc_disc.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@
#define FC_DISC_RETRY_LIMIT 3 /* max retries */
#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_resp(struct fc_seq *, struct fc_frame *, void *);
static int fc_disc_new_target(struct fc_disc *, struct fc_rport_priv *,
Expand Down Expand Up @@ -775,7 +773,6 @@ int fc_disc_init(struct fc_lport *lport)
INIT_LIST_HEAD(&disc->rports);

disc->lport = lport;
disc->delay = FC_DISC_DELAY;

return 0;
}
Expand Down
1 change: 0 additions & 1 deletion include/scsi/libfc.h
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,6 @@ struct libfc_function_template {
/* information used by the discovery layer */
struct fc_disc {
unsigned char retry_count;
unsigned char delay;
unsigned char pending;
unsigned char requested;
unsigned short seq_count;
Expand Down

0 comments on commit b84c796

Please sign in to comment.