# Re: \[PATCH\] drivers: net: xen-netfront: Simplify the calculation of variables

- From: Jürgen Groß \<jgross@suse.com\>
- Date: 2021-02-04 11:10:19 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/02/6258377
- Thread: https://ratatoskr.run/xen-devel/2021/02/6254976/t.md

```text
On 02.02.21 11:17, Jiapeng Chong wrote:
> Fix the following coccicheck warnings:
>
> ./drivers/net/xen-netfront.c:1816:52-54: WARNING !A || A && B is
> equivalent to !A || B.
>
> Reported-by: Abaci Robot <redacted>
> Signed-off-by: Jiapeng Chong <redacted>

Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen
```

## Attachments

- [OpenPGP\_signature](https://ratatoskr.run/netdev/2021/02/6258377/attachment/0) (application/pgp-signature, 495 bytes)
