cached_mask_value is only ever assigned, never read. Remove it.
Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
u16 pdown_speed;
u8 pdown_duplex;
- u32 cached_mask_value;
-
/* Xcvr status at last poll */
u16 bmsr;
else
mask = INT_MASK_ENABLE_NO_FLOW;
- adapter->cached_mask_value = mask;
writel(mask, &adapter->regs->global.int_mask);
}
void et131x_disable_interrupts(struct et131x_adapter *adapter)
{
/* Disable all global interrupts */
- adapter->cached_mask_value = INT_MASK_DISABLE;
writel(INT_MASK_DISABLE, &adapter->regs->global.int_mask);
}