net: bcmgenet: remove priv->int0_mask and priv->int1_mask
Remove unused priv->int0_mask and priv->int1_mask. Signed-off-by: Petri Gynther <pgynther@google.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
19cc2dec8a
commit
e412b1045c
@@ -985,7 +985,6 @@ static inline void bcmgenet_tx_ring_int_enable(struct bcmgenet_priv *priv,
|
|||||||
{
|
{
|
||||||
bcmgenet_intrl2_1_writel(priv, (1 << ring->index),
|
bcmgenet_intrl2_1_writel(priv, (1 << ring->index),
|
||||||
INTRL2_CPU_MASK_CLEAR);
|
INTRL2_CPU_MASK_CLEAR);
|
||||||
priv->int1_mask &= ~(1 << ring->index);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void bcmgenet_tx_ring_int_disable(struct bcmgenet_priv *priv,
|
static inline void bcmgenet_tx_ring_int_disable(struct bcmgenet_priv *priv,
|
||||||
@@ -993,7 +992,6 @@ static inline void bcmgenet_tx_ring_int_disable(struct bcmgenet_priv *priv,
|
|||||||
{
|
{
|
||||||
bcmgenet_intrl2_1_writel(priv, (1 << ring->index),
|
bcmgenet_intrl2_1_writel(priv, (1 << ring->index),
|
||||||
INTRL2_CPU_MASK_SET);
|
INTRL2_CPU_MASK_SET);
|
||||||
priv->int1_mask |= (1 << ring->index);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Unlocked version of the reclaim routine */
|
/* Unlocked version of the reclaim routine */
|
||||||
|
@@ -558,8 +558,6 @@ struct bcmgenet_priv {
|
|||||||
void __iomem *base;
|
void __iomem *base;
|
||||||
enum bcmgenet_version version;
|
enum bcmgenet_version version;
|
||||||
struct net_device *dev;
|
struct net_device *dev;
|
||||||
u32 int0_mask;
|
|
||||||
u32 int1_mask;
|
|
||||||
|
|
||||||
/* NAPI for descriptor based rx */
|
/* NAPI for descriptor based rx */
|
||||||
struct napi_struct napi ____cacheline_aligned;
|
struct napi_struct napi ____cacheline_aligned;
|
||||||
|
Reference in New Issue
Block a user