On Sat, 15 Aug 2026 17:39:38 +0200
Oliver Hartkopp [off-list ref] wrote:
quoted hunk ↗ jump to hunk
+static inline bool netdev_has_ml_priv(struct net_device *dev)
+{
+ return (dev->ml_priv != NULL);
+}
+
Minor suggestion: use const and drop unneeded parens
static inline bool netdev_has_ml_priv(const struct net_device *dev)
{
return dev->ml_priv != NULL;
}