On Mon, Aug 07, 2023 at 05:13:47PM +0800, Lin Ma wrote: > The commit d73ef2d69c0d ("rtnetlink: let rtnl_bridge_setlink checks > IFLA_BRIDGE_MODE length") added the nla_len check in rtnl_bridge_setlink, > which is the only caller for ndo_bridge_setlink handlers defined in > low-level driver codes. Hence, this patch cleanups the redundant checks in > each ndo_bridge_setlink handler function. > > Suggested-by: Hangbin Liu <liuhangbin@xxxxxxxxx> > Signed-off-by: Lin Ma <linma@xxxxxxxxxx> Reviewed-by: Simon Horman <horms@xxxxxxxxxx>