net: devlink: move port_type_warn_schedule() call to __devlink_port_type_set()
authorJiri Pirko <jiri@nvidia.com>
Wed, 2 Nov 2022 16:02:00 +0000 (17:02 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 4 Nov 2022 03:48:32 +0000 (20:48 -0700)
commit8573a04404ddacb2d966eef09bf38b2ad6dbe86f
treea62e8c9e4817f127afd16e32eadc1af4c89c925a
parent3830c5719af66fac9849cf5fb04b03d4e4bb46ff
net: devlink: move port_type_warn_schedule() call to __devlink_port_type_set()

As __devlink_port_type_set() is going to be called directly from netdevice
notifier event handle in one of the follow-up patches, move the
port_type_warn_schedule() call there.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/core/devlink.c