Re: [PATCH net-next] r8169: remove not needed check in rtl8169_start_xmit

2020-11-18 Thread Jakub Kicinski
On Tue, 17 Nov 2020 21:34:09 +0100 Heiner Kallweit wrote: > In rtl_tx() the released descriptors are zero'ed by > rtl8169_unmap_tx_skb(). And in the beginning of rtl8169_start_xmit() > we check that enough descriptors are free, therefore there's no way > the DescOwn bit can be set here. > > Signed

[PATCH net-next] r8169: remove not needed check in rtl8169_start_xmit

2020-11-17 Thread Heiner Kallweit
In rtl_tx() the released descriptors are zero'ed by rtl8169_unmap_tx_skb(). And in the beginning of rtl8169_start_xmit() we check that enough descriptors are free, therefore there's no way the DescOwn bit can be set here. Signed-off-by: Heiner Kallweit --- drivers/net/ethernet/realtek/r8169_main