ksmbd: use netif_is_bridge_port
authorTobias Klauser <tklauser@distanz.ch>
Wed, 2 Mar 2022 15:11:09 +0000 (16:11 +0100)
committerSteve French <stfrench@microsoft.com>
Sun, 20 Mar 2022 16:03:41 +0000 (11:03 -0500)
commit1b699bf3a8786f7d41eebd9f6ba673185fa5b6bd
tree80aa0baa10c1bf33ac51ca1220e8b2a9c8d22ec8
parent9c1666831817ce56482a1f1fd1fbb65dbc8acaab
ksmbd: use netif_is_bridge_port

Use netif_is_bridge_port defined in <linux/netdevice.h> instead of
open-coding it.

Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/ksmbd/transport_tcp.c