sfxge(4): cleanup: remove unused variables in common code
Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week
This commit is contained in:
parent
99ea4d4733
commit
6bf4498cbc
@ -349,7 +349,6 @@ efx_ev_qprefetch(
|
||||
__in efx_evq_t *eep,
|
||||
__in unsigned int count)
|
||||
{
|
||||
efx_nic_t *enp = eep->ee_enp;
|
||||
unsigned int offset;
|
||||
|
||||
EFSYS_ASSERT3U(eep->ee_magic, ==, EFX_EVQ_MAGIC);
|
||||
|
@ -534,8 +534,6 @@ efx_lic_v1v2_validate_key(
|
||||
__in uint32_t length
|
||||
)
|
||||
{
|
||||
const efx_lic_ops_t *elop = enp->en_elop;
|
||||
efx_rc_t rc;
|
||||
uint16_t tlv_type;
|
||||
uint16_t tlv_length;
|
||||
|
||||
@ -658,7 +656,6 @@ efx_lic_v1v2_delete_key(
|
||||
__out uint32_t *deltap
|
||||
)
|
||||
{
|
||||
efx_rc_t rc;
|
||||
uint32_t move_start = offset + length;
|
||||
uint32_t move_length = end - move_start;
|
||||
|
||||
@ -1158,7 +1155,6 @@ efx_lic_v3_validate_key(
|
||||
)
|
||||
{
|
||||
// Check key is a valid V3 key
|
||||
efx_rc_t rc;
|
||||
uint8_t key_type;
|
||||
uint8_t key_length;
|
||||
|
||||
@ -1396,8 +1392,6 @@ efx_lic_check_support(
|
||||
efx_lic_fini(
|
||||
__in efx_nic_t *enp)
|
||||
{
|
||||
const efx_lic_ops_t *elop = enp->en_elop;
|
||||
|
||||
EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
|
||||
EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_PROBE);
|
||||
EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_LIC);
|
||||
@ -1573,7 +1567,6 @@ efx_lic_find_key(
|
||||
)
|
||||
{
|
||||
const efx_lic_ops_t *elop = enp->en_elop;
|
||||
boolean_t rc;
|
||||
|
||||
EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
|
||||
EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_LIC);
|
||||
@ -1599,8 +1592,6 @@ efx_lic_validate_key(
|
||||
{
|
||||
const efx_lic_ops_t *elop = enp->en_elop;
|
||||
boolean_t rc;
|
||||
uint16_t tlv_type;
|
||||
uint16_t tlv_length;
|
||||
|
||||
EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC);
|
||||
EFSYS_ASSERT3U(enp->en_mod_flags, &, EFX_MOD_LIC);
|
||||
|
@ -795,7 +795,6 @@ efx_mcdi_get_proxy_handle(
|
||||
__in efx_mcdi_req_t *emrp,
|
||||
__out uint32_t *handlep)
|
||||
{
|
||||
efx_mcdi_iface_t *emip = &(enp->en_mcdi.em_emip);
|
||||
efx_rc_t rc;
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user