lkml.org 
[lkml]   [2022]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net-next 1/2] mlxsw: use netif_is_any_bridge_port() instead of open code
On Thu, 21 Jul 2022 19:26:47 +0900 Juhee Kang wrote:
> The open code which is netif_is_bridge_port() || netif_is_ovs_port() is
> defined as a new helper function on netdev.h like netif_is_any_bridge_port
> that can check both IFF flags in 1 go. So use netif_is_any_bridge_port()
> function instead of open code. This patch doesn't change logic.

Appears applied:

c497885e3044 ("net: marvell: prestera: use netif_is_any_bridge_port instead of open code")
59ad24714b7b ("mlxsw: use netif_is_any_bridge_port() instead of open code")

Thanks!

\
 
 \ /
  Last update: 2022-07-22 23:18    [W:0.079 / U:0.696 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site