[PATCH net-next v2 4/4] net: axienet: remove unnecessary parentheses
Andrew Lunn
andrew at lunn.ch
Wed Jul 31 05:06:55 PDT 2024
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 at amd.com>
Reviewed-by: Andrew Lunn <andrew at lunn.ch>
Andrew
More information about the linux-arm-kernel
mailing list