net: dovetail: Fix wrongly merged comments
Subsystems (2)
PATCH 1/1 net: dovetail: Fix wrongly merged comments
From: Jan Kiszka <[email protected]>
No functional changes.
Signed-off-by Jan Kiszka <[email protected]>
--- include/linux/netdevice.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
include/linux/netdevice.h +2 -4
@@ -5001,18 +5001,16 @@ static inline bool __netif_tx_trylock(struct netdev_queue *txq)static inline void __netif_tx_unlock (struct netdev_queue *txq) { -/* Pairs with READ_ONCE() in netif_tx_owned() */ netif_tx_unlock_oob (txq); -/* Pairs with READ_ONCE() in __dev_queue_xmit() */ +/* Pairs with READ_ONCE() in netif_tx_owned() */ WRITE_ONCE (txq->xmit_lock_owner,-1 );spin_unlock (&txq->_xmit_lock); }static inline void __netif_tx_unlock_bh (struct netdev_queue *txq) { -/* Pairs with READ_ONCE() in netif_tx_owned() */ netif_tx_unlock_oob (txq); -/* Pairs with READ_ONCE() in __dev_queue_xmit() */ +/* Pairs with READ_ONCE() in netif_tx_owned() */ WRITE_ONCE (txq->xmit_lock_owner,-1 );spin_unlock_bh (&txq->_xmit_lock); }
Signature · 1 line
2.47.3
Philippe Gerum
AppliedQuoted 24 lines · Jan Kiszka
From: Jan Kiszka <[email protected]>
No functional changes.
Signed-off-by Jan Kiszka <[email protected]>--- include/linux/netdevice.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)include/linux/netdevice.h +1
-2@@ -5001,18 +5001,16 @@ static inline bool __netif_tx_trylock(struct netdev_queue *txq)static inline void __netif_tx_unlock (struct netdev_queue *txq) { -/* Pairs with READ_ONCE() in netif_tx_owned() */ netif_tx_unlock_oob (txq); -/* Pairs with READ_ONCE() in __dev_queue_xmit() */ +/* Pairs with READ_ONCE() in netif_tx_owned() */ WRITE_ONCE (txq->xmit_lock_owner,-1 );spin_unlock (&txq->_xmit_lock); }
include/linux/netdevice.h static inline bool __netif_tx_trylock(struct netdev_queue *txq) · line 5016
Quoted 10 lines
include/linux/netdevice.h +1
-2static inline void __netif_tx_unlock_bh (struct netdev_queue *txq) { -/* Pairs with READ_ONCE() in netif_tx_owned() */ netif_tx_unlock_oob (txq); -/* Pairs with READ_ONCE() in __dev_queue_xmit() */ +/* Pairs with READ_ONCE() in netif_tx_owned() */ WRITE_ONCE (txq->xmit_lock_owner,-1 );spin_unlock_bh (&txq->_xmit_lock); }
Merged, thanks.
Signature · 1 line
Philippe.