Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b044d149 authored by Maurizio Lombardi's avatar Maurizio Lombardi Committed by Christoph Hellwig
Browse files

bnx2fc: remove unused variable hash_table_size



hash_table_size is not used by the bnx2fc_free_hash_table() function.

Signed-off-by: default avatarMaurizio Lombardi <mlombard@redhat.com>
Acked-by: default avatarEddie Wai <eddie.wai@broadcom.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 96444fbb
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -1966,12 +1966,9 @@ static void bnx2fc_free_hash_table(struct bnx2fc_hba *hba)
{
{
	int i;
	int i;
	int segment_count;
	int segment_count;
	int hash_table_size;
	u32 *pbl;
	u32 *pbl;


	segment_count = hba->hash_tbl_segment_count;
	segment_count = hba->hash_tbl_segment_count;
	hash_table_size = BNX2FC_NUM_MAX_SESS * BNX2FC_MAX_ROWS_IN_HASH_TBL *
		sizeof(struct fcoe_hash_table_entry);


	pbl = hba->hash_tbl_pbl;
	pbl = hba->hash_tbl_pbl;
	for (i = 0; i < segment_count; ++i) {
	for (i = 0; i < segment_count; ++i) {