File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -447,15 +447,6 @@ static netdev_tx_t cc770_start_xmit(struct sk_buff *skb, struct net_device *dev)
447
447
448
448
stats -> tx_bytes += dlc ;
449
449
450
-
451
- /*
452
- * HM: We had some cases of repeated IRQs so make sure the
453
- * INT is acknowledged I know it's already further up, but
454
- * doing again fixed the issue
455
- */
456
- cc770_write_reg (priv , msgobj [mo ].ctrl0 ,
457
- MSGVAL_UNC | TXIE_UNC | RXIE_UNC | INTPND_RES );
458
-
459
450
return NETDEV_TX_OK ;
460
451
}
461
452
@@ -684,12 +675,6 @@ static void cc770_tx_interrupt(struct net_device *dev, unsigned int o)
684
675
/* Nothing more to send, switch off interrupts */
685
676
cc770_write_reg (priv , msgobj [mo ].ctrl0 ,
686
677
MSGVAL_RES | TXIE_RES | RXIE_RES | INTPND_RES );
687
- /*
688
- * We had some cases of repeated IRQ so make sure the
689
- * INT is acknowledged
690
- */
691
- cc770_write_reg (priv , msgobj [mo ].ctrl0 ,
692
- MSGVAL_UNC | TXIE_UNC | RXIE_UNC | INTPND_RES );
693
678
694
679
stats -> tx_packets ++ ;
695
680
can_get_echo_skb (dev , 0 );
You can’t perform that action at this time.
0 commit comments