Re: [PATCH net-next 08/10] net: stmmac: Do not initialize the RX Descriptor twice

2018-05-10 Thread Jose Abreu
On 08-05-2018 15:45, Jose Abreu wrote: > The RX Descriptor is already initialized in at setup phase so there is > no need to set the values again, we just need to set the owner. This > allow us to remove another if condition. > > Signed-off-by: Jose Abreu > Cc: David S. Miller > Cc: Joao Pinto >

[PATCH net-next 08/10] net: stmmac: Do not initialize the RX Descriptor twice

2018-05-08 Thread Jose Abreu
The RX Descriptor is already initialized in at setup phase so there is no need to set the values again, we just need to set the owner. This allow us to remove another if condition. Signed-off-by: Jose Abreu Cc: David S. Miller Cc: Joao Pinto Cc: Vitor Soares Cc: Giuseppe Cavallaro Cc: Alexand