mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
switchdev: Complete removal of switchdev_port_attr_get()
We have no more in tree users of switchdev_port_attr_get() after
d0e698d57a
("Merge branch 'net-Get-rid-of-switchdev_port_attr_get'")
so completely remove the function signature and body.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
75104db0cb
commit
72636db5ba
2 changed files with 0 additions and 46 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue