mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] net: rtl8139: drop unused rtl8139_intr_mask constant
@ 2017-05-03 11:26 Antony Pavlov
  2017-05-03 11:54 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Antony Pavlov @ 2017-05-03 11:26 UTC (permalink / raw)
  To: barebox

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 drivers/net/rtl8139.c | 4 ----
 1 file changed, 4 deletions(-)

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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: rtl8139: drop unused rtl8139_intr_mask constant
  2017-05-03 11:26 [PATCH] net: rtl8139: drop unused rtl8139_intr_mask constant Antony Pavlov
@ 2017-05-03 11:54 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2017-05-03 11:54 UTC (permalink / raw)
  To: Antony Pavlov; +Cc: barebox

On Wed, May 03, 2017 at 02:26:59PM +0300, Antony Pavlov wrote:
> Signed-off-by: Antony Pavlov <antonynpavlov@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 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-03 11:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-03 11:26 [PATCH] net: rtl8139: drop unused rtl8139_intr_mask constant Antony Pavlov
2017-05-03 11:54 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox