diff options
| author | Florian Fainelli <[email protected]> | 2019-02-28 00:29:16 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-03-02 05:35:19 +0000 |
| commit | 91cf8eceffc131d41f098351e1b290bdaab45ea7 (patch) | |
| tree | 098881e99e25b91544083b0657a0eb3060eb7d5c /include/net/switchdev.h | |
| parent | Merge branch 'doc-net-ieee802154-move-from-plain-text-to-rst' (diff) | |
| download | kernel-91cf8eceffc131d41f098351e1b290bdaab45ea7.tar.gz kernel-91cf8eceffc131d41f098351e1b290bdaab45ea7.zip | |
switchdev: Remove unused transaction item queue
There are no more in tree users of the
switchdev_trans_item_{dequeue,enqueue} or switchdev_trans_item structure
in the kernel since commit 00fc0c51e35b ("rocker: Change world_ops API
and implementation to be switchdev independant").
Remove this unused code and update the documentation accordingly since.
Signed-off-by: Florian Fainelli <[email protected]>
Acked-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/net/switchdev.h')
| -rw-r--r-- | include/net/switchdev.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/net/switchdev.h b/include/net/switchdev.h index e4f751e19ecf..0ebd67ae7012 100644 --- a/include/net/switchdev.h +++ b/include/net/switchdev.h @@ -20,14 +20,7 @@ #define SWITCHDEV_F_SKIP_EOPNOTSUPP BIT(1) #define SWITCHDEV_F_DEFER BIT(2) -struct switchdev_trans_item { - struct list_head list; - void *data; - void (*destructor)(const void *data); -}; - struct switchdev_trans { - struct list_head item_list; bool ph_prepare; }; @@ -105,11 +98,6 @@ struct switchdev_obj_port_mdb { #define SWITCHDEV_OBJ_PORT_MDB(OBJ) \ container_of((OBJ), struct switchdev_obj_port_mdb, obj) -void switchdev_trans_item_enqueue(struct switchdev_trans *trans, - void *data, void (*destructor)(void const *), - struct switchdev_trans_item *tritem); -void *switchdev_trans_item_dequeue(struct switchdev_trans *trans); - typedef int switchdev_obj_dump_cb_t(struct switchdev_obj *obj); enum switchdev_notifier_type { |
