Messages in this thread | | | From | Vivien Didelot <> | Subject | Re: [PATCH net-next] net: dsa: Utilize dsa_slave_dev_check() | Date | Wed, 20 Sep 2017 10:19:39 -0400 |
| |
Hi Florian,
Florian Fainelli <f.fainelli@gmail.com> writes:
> Instead of open coding the check. > > Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
If we do need to use it outside one day, we may think about renaming netdev_uses_dsa() to netdev_is_dsa_master() and renaming dsa_slave_dev_check() to netdev_is_dsa_slave().
In the meantime, looks good!
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
| |