net: bridge: return false in br_mrp_enabled()
authorJason Yan <yanaijie@huawei.com>
Wed, 6 May 2020 06:16:16 +0000 (14:16 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 May 2020 20:57:30 +0000 (13:57 -0700)
commit8741e18419bf4b9e3b02c0ed01ea13f1aa497fa7
treeae9f376633e534e1164f7db384db9a481f979680
parentcadb5c4e394da0fc13e4d46ad7c1445d60dc175f
net: bridge: return false in br_mrp_enabled()

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

Fixes: 6536993371fab ("bridge: mrp: Integrate MRP into the bridge")
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_private.h