linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Robert Love <robert.w.love@intel.com>
To: linux-scsi@vger.kernel.org
Subject: [PATCH 10/10] [FCoE] Removing unused defines
Date: Tue, 22 Jan 2008 16:37:57 -0800	[thread overview]
Message-ID: <20080123003757.8469.461.stgit@fritz> (raw)
In-Reply-To: <20080123003523.8469.62236.stgit@fritz>

These defines were used with the DEBUG_ASSERT code that has
been removed.

Removed defines are,

FC_ELS_CSP_LEN
FC_ELS_CSSP_LEN
FC_ELS_FLOGI_LEN
FC_ELS_SPP_LEN
FC_ELS_RRQ_LEN
FC_ELS_PRLI_LEN
FC_ELS_LOGO_LEN

Signed-off-by: Robert Love <robert.w.love@intel.com>
---

 drivers/scsi/ofc/include/fc_els.h |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)


diff --git a/drivers/scsi/ofc/include/fc_els.h b/drivers/scsi/ofc/include/fc_els.h
index 6bff73e..502f0c5 100644
--- a/drivers/scsi/ofc/include/fc_els.h
+++ b/drivers/scsi/ofc/include/fc_els.h
@@ -232,8 +232,6 @@ struct fc_els_csp {
 #define	sp_rel_off	sp_u.sp_plogi._sp_rel_off
 #define	sp_r_a_tov	sp_u.sp_flogi_acc._sp_r_a_tov
 
-#define	FC_ELS_CSP_LEN	16	/* expected size of struct */
-
 #define	FC_SP_BB_DATA_MASK 0xfff /* mask for data field size in sp_bb_data */
 
 /*
@@ -278,8 +276,6 @@ struct fc_els_cssp {
 	u_int8_t	_cp_resv2[2];	/* reserved */
 };
 
-#define	FC_ELS_CSSP_LEN 16	/* expected size of struct */
-
 /*
  * cp_class flags.
  */
@@ -314,8 +310,6 @@ struct fc_els_flogi {
 	net8_t		fl_vend[16];	/* vendor version level */
 };
 
-#define	FC_ELS_FLOGI_LEN (7 * 16 + 4)	/* expected size of flogi struct */
-
 /*
  * Process login service parameter page.
  */
@@ -329,8 +323,6 @@ struct fc_els_spp {
 	net32_t		spp_params;	/* service parameters */
 };
 
-#define	FC_ELS_SPP_LEN	    16	/* expected length of struct */
-
 /*
  * spp_flags.
  */
@@ -365,8 +357,6 @@ struct fc_els_rrq {
 	net16_t		rrq_rx_id;	/* responders exchange ID */
 };
 
-#define	FC_ELS_RRQ_LEN	    12	/* expected length of struct */
-
 /*
  * ELS_REC - Read exchange concise.
  */
@@ -405,8 +395,6 @@ struct fc_els_prli {
 	/* service parameter pages follow */
 };
 
-#define	FC_ELS_PRLI_LEN     4	/* expected length of struct */
-
 /*
  * ELS_LOGO - process or fabric logout.
  */
@@ -418,8 +406,6 @@ struct fc_els_logo {
 	net64_t		fl_n_port_wwn;	/* port name */
 };
 
-#define	FC_ELS_LOGO_LEN     16	/* expected length of struct */
-
 /*
  * ELS_RTV - read timeout value.
  */


      parent reply	other threads:[~2008-01-23  0:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-23  0:35 [PATCH 00/10] [FCoE] This patch set removes the ASSERT code in Open-FCoE Robert Love
2008-01-23  0:35 ` [PATCH 01/10] [FCoE] Changing all ASSERT_NOTIMPL to WARN_ON(1) Robert Love
2008-01-23  0:35 ` [PATCH 02/10] [FCoE] Convert one ASSERT_NOTREACHED " Robert Love
2008-01-23  0:36 ` [PATCH 03/10] [FCoE] Remove DEBUG_ASSERTS statements Robert Love
2008-01-23  0:36 ` [PATCH 04/10] [FCoE] Remove ASSERTs from libfc Robert Love
2008-01-23  0:36 ` [PATCH 05/10] [FCoE] Remove ASSERTs from libsa Robert Love
2008-01-23  0:36 ` [PATCH 06/10] [FCoE] Remove ASSERTs from openfc Robert Love
2008-01-23  0:37 ` [PATCH 07/10] [FCoE] Remove ASSERTs from fcoe Robert Love
2008-01-23  0:37 ` [PATCH 08/10] [FCoE] Remove ASSERTs from frame headers Robert Love
2008-01-23  0:37 ` [PATCH 09/10] [FCoE] Remove sa_assert files Robert Love
2008-01-23  0:37 ` Robert Love [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080123003757.8469.461.stgit@fritz \
    --to=robert.w.love@intel.com \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).