diff options
author | Maurizio Lombardi <mlombard@redhat.com> | 2014-04-01 07:58:20 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-05-19 13:29:57 -0400 |
commit | b044d1498cbfef5e11c9c390288f4b841c9b328c (patch) | |
tree | 16b924f8d35f3ef7dab658ab2deb00c1cbd6841c | |
parent | 96444fbbbf3b55a9cd1e337cc5c8c7d04bb364b7 (diff) |
bnx2fc: remove unused variable hash_table_size
hash_table_size is not used by the bnx2fc_free_hash_table() function.
Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Acked-by: Eddie Wai <eddie.wai@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
-rw-r--r-- | drivers/scsi/bnx2fc/bnx2fc_hwi.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc_hwi.c b/drivers/scsi/bnx2fc/bnx2fc_hwi.c index 46a37657307f..261af2a41d24 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_hwi.c +++ b/drivers/scsi/bnx2fc/bnx2fc_hwi.c | |||
@@ -1966,12 +1966,9 @@ static void bnx2fc_free_hash_table(struct bnx2fc_hba *hba) | |||
1966 | { | 1966 | { |
1967 | int i; | 1967 | int i; |
1968 | int segment_count; | 1968 | int segment_count; |
1969 | int hash_table_size; | ||
1970 | u32 *pbl; | 1969 | u32 *pbl; |
1971 | 1970 | ||
1972 | segment_count = hba->hash_tbl_segment_count; | 1971 | segment_count = hba->hash_tbl_segment_count; |
1973 | hash_table_size = BNX2FC_NUM_MAX_SESS * BNX2FC_MAX_ROWS_IN_HASH_TBL * | ||
1974 | sizeof(struct fcoe_hash_table_entry); | ||
1975 | 1972 | ||
1976 | pbl = hba->hash_tbl_pbl; | 1973 | pbl = hba->hash_tbl_pbl; |
1977 | for (i = 0; i < segment_count; ++i) { | 1974 | for (i = 0; i < segment_count; ++i) { |