i40e_validate_filter_settings: Remove unused variables.
Reviewed by: erj Differential Revision: https://reviews.freebsd.org/D34829
This commit is contained in:
parent
d769609620
commit
c434b26cf3
@ -5426,7 +5426,6 @@ static enum i40e_status_code i40e_validate_filter_settings(struct i40e_hw *hw,
|
||||
struct i40e_filter_control_settings *settings)
|
||||
{
|
||||
u32 fcoe_cntx_size, fcoe_filt_size;
|
||||
u32 pe_cntx_size, pe_filt_size;
|
||||
u32 fcoe_fmax;
|
||||
|
||||
u32 val;
|
||||
@ -5471,8 +5470,6 @@ static enum i40e_status_code i40e_validate_filter_settings(struct i40e_hw *hw,
|
||||
case I40E_HASH_FILTER_SIZE_256K:
|
||||
case I40E_HASH_FILTER_SIZE_512K:
|
||||
case I40E_HASH_FILTER_SIZE_1M:
|
||||
pe_filt_size = I40E_HASH_FILTER_BASE_SIZE;
|
||||
pe_filt_size <<= (u32)settings->pe_filt_num;
|
||||
break;
|
||||
default:
|
||||
return I40E_ERR_PARAM;
|
||||
@ -5489,8 +5486,6 @@ static enum i40e_status_code i40e_validate_filter_settings(struct i40e_hw *hw,
|
||||
case I40E_DMA_CNTX_SIZE_64K:
|
||||
case I40E_DMA_CNTX_SIZE_128K:
|
||||
case I40E_DMA_CNTX_SIZE_256K:
|
||||
pe_cntx_size = I40E_DMA_CNTX_BASE_SIZE;
|
||||
pe_cntx_size <<= (u32)settings->pe_cntx_num;
|
||||
break;
|
||||
default:
|
||||
return I40E_ERR_PARAM;
|
||||
|
Loading…
x
Reference in New Issue
Block a user