Re: [PATCH] dpaa2-eth: Simplify the calculation of variables

2021-02-06 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Tue, 2 Feb 2021 18:02:37 +0800 you wrote: > Fix the following coccicheck warnings: > > ./drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:1651:36-38: WARNING > !A || A && B is equivalent to !A || B. > > Reported-by:

Re: [PATCH] dpaa2-eth: Simplify the calculation of variables

2021-02-02 Thread Ioana Ciornei
On Tue, Feb 02, 2021 at 06:02:37PM +0800, Jiapeng Chong wrote: > Fix the following coccicheck warnings: > > ./drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:1651:36-38: WARNING > !A || A && B is equivalent to !A || B. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong Acked-by:

[PATCH] dpaa2-eth: Simplify the calculation of variables

2021-02-02 Thread Jiapeng Chong
Fix the following coccicheck warnings: ./drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:1651:36-38: WARNING !A || A && B is equivalent to !A || B. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c | 2 +- 1 file changed, 1