[PATCH] net: rtl8139: drop unused rtl8139_intr_mask constant

Sascha Hauer s.hauer at pengutronix.de
Wed May 3 04:54:43 PDT 2017


On Wed, May 03, 2017 at 02:26:59PM +0300, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
> ---
>  drivers/net/rtl8139.c | 4 ----
>  1 file changed, 4 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c
> index a9eb865358..cfa34a2f2a 100644
> --- a/drivers/net/rtl8139.c
> +++ b/drivers/net/rtl8139.c
> @@ -492,10 +492,6 @@ static int rtl8139_eth_send(struct eth_device *edev, void *packet,
>  	return 0;
>  }
>  
> -static const u16 rtl8139_intr_mask =
> -		PCIErr | PCSTimeout | RxUnderrun | RxOverflow | RxFIFOOver |
> -		TxErr | TxOK | RxErr | RxOK;
> -
>  static int rtl8139_eth_rx(struct eth_device *edev)
>  {
>  	struct rtl8139_priv *priv = edev->priv;
> -- 
> 2.11.0
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list