On Tue,  8 Sep 2020 02:51:49 +0200
Andrew Lunn <and...@lunn.ch> wrote:

> +struct dsa_switch *dsa_devlink_to_ds(struct devlink *dl)
> +{
> +     struct dsa_devlink_priv *dl_priv = devlink_priv(dl);
> +
> +     return dl_priv->ds;
> +}
> +EXPORT_SYMBOL_GPL(dsa_devlink_to_ds);

Hi Andrew,
why not  make this a static inline function?
Marek

Reply via email to