switchdev: Complete removal of switchdev_port_attr_get()
Subsystems (3)
PATCH 1/1 switchdev: Complete removal of switchdev_port_attr_get()
We have no more in tree users of switchdev_port_attr_get() after d0e698d57a94 ("Merge branch 'net-Get-rid-of-switchdev_port_attr_get'") so completely remove the function signature and body.
Signed-off-by Florian Fainelli <[email protected]>
--- include/net/switchdev.h | 4 ---- net/switchdev/switchdev.c | 42 --------------------------------------- 2 files changed, 46 deletions(-)
include/net/switchdev.h +0 -4
@@ -115,13 +115,9 @@ typedef int switchdev_obj_dump_cb_t(struct switchdev_obj *obj);/** * struct switchdev_ops - switchdev operations * -* @switchdev_port_attr_get: Get a port attribute (see switchdev_attr). -* * @switchdev_port_attr_set: Set a port attribute (see switchdev_attr). */ struct switchdev_ops { -int (*switchdev_port_attr_get)(struct net_device *dev, -struct switchdev_attr *attr);int (*switchdev_port_attr_set)(struct net_device *dev,const struct switchdev_attr *attr,struct switchdev_trans *trans);
net/switchdev/switchdev.c +0 -42
48 lines not on this page · raw message
Signature · 1 line
2.19.1
From: Florian Fainelli <[email protected]>
Date: Sun, 24 Feb 2019 18:39:02 -0800
Quoted 5 lines
We have no more in tree users of
switchdev_port_attr_get()afterd0e698d57a94("Merge branch 'net-Get-rid-of-switchdev_port_attr_get'") so completely remove the function signature and body.Signed-off-by Florian Fainelli <[email protected]>
Applied, thanks.