Re: [PATCH net-next] net: bridge: return false in br_mrp_enabled()

From: David Miller
Date: Wed May 06 2020 - 16:57:55 EST


From: Jason Yan <yanaijie@xxxxxxxxxx>
Date: Wed, 6 May 2020 14:16:16 +0800

> Fix the following coccicheck warning:
>
> net/bridge/br_private.h:1334:8-9: WARNING: return of 0/1 in function
> 'br_mrp_enabled' with return type bool
>
> Signed-off-by: Jason Yan <yanaijie@xxxxxxxxxx>

Applied.