drivers/net/lib8390: fix warning, trim trailing whitespace
fix drivers/net/lib8390.c: In function ‘ei_tx_err’: drivers/net/lib8390.c:556: warning: unused variable ‘ei_local’ drivers/net/lib8390.c: In function ‘ei_rx_overrun’: drivers/net/lib8390.c:819: warning: unused variable ‘ei_local’ and also trim whitespace. Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
@@ -553,7 +553,6 @@ static void __ei_poll(struct net_device *dev)
|
|||||||
static void ei_tx_err(struct net_device *dev)
|
static void ei_tx_err(struct net_device *dev)
|
||||||
{
|
{
|
||||||
unsigned long e8390_base = dev->base_addr;
|
unsigned long e8390_base = dev->base_addr;
|
||||||
struct ei_device *ei_local = (struct ei_device *) netdev_priv(dev);
|
|
||||||
unsigned char txsr = ei_inb_p(e8390_base+EN0_TSR);
|
unsigned char txsr = ei_inb_p(e8390_base+EN0_TSR);
|
||||||
unsigned char tx_was_aborted = txsr & (ENTSR_ABT+ENTSR_FU);
|
unsigned char tx_was_aborted = txsr & (ENTSR_ABT+ENTSR_FU);
|
||||||
|
|
||||||
@@ -816,7 +815,6 @@ static void ei_rx_overrun(struct net_device *dev)
|
|||||||
{
|
{
|
||||||
unsigned long e8390_base = dev->base_addr;
|
unsigned long e8390_base = dev->base_addr;
|
||||||
unsigned char was_txing, must_resend = 0;
|
unsigned char was_txing, must_resend = 0;
|
||||||
struct ei_device *ei_local = (struct ei_device *) netdev_priv(dev);
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Record whether a Tx was in progress and then issue the
|
* Record whether a Tx was in progress and then issue the
|
||||||
|
Reference in New Issue
Block a user