Re: [PATCH net-next v2 4/4] net: axienet: remove unnecessary parentheses
From: Andrew Lunn
Date: Wed Jul 31 2024 - 08:07:11 EST
On Wed, Jul 31, 2024 at 02:46:07PM +0530, Radhey Shyam Pandey wrote:
> Remove unnecessary parentheses around 'ndev->mtu
> <= XAE_JUMBO_MTU' and 'ndev->mtu > XAE_MTU'. Reported
> by checkpatch.
>
> CHECK: Unnecessary parentheses around 'ndev->mtu > XAE_MTU'
> + if ((ndev->mtu > XAE_MTU) &&
> + (ndev->mtu <= XAE_JUMBO_MTU)) {
>
> CHECK: Unnecessary parentheses around 'ndev->mtu <= XAE_JUMBO_MTU'
> + if ((ndev->mtu > XAE_MTU) &&
> + (ndev->mtu <= XAE_JUMBO_MTU)) {
>
> Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xxxxxxx>
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
Andrew