projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e12f2a6
)
net: switchdev: Remove unused typedef switchdev_obj_dump_cb_t()
author
Yue Haibing
<yuehaibing@huawei.com>
Tue, 1 Aug 2023 14:42:09 +0000
(22:42 +0800)
committer
Jakub Kicinski
<kuba@kernel.org>
Wed, 2 Aug 2023 19:28:26 +0000
(12:28 -0700)
Commit
29ab586c3d83
("net: switchdev: Remove bridge bypass support from switchdev")
leave this unused.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link:
https://lore.kernel.org/r/20230801144209.27512-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/switchdev.h
patch
|
blob
|
history
diff --git
a/include/net/switchdev.h
b/include/net/switchdev.h
index
4d324e2
..
0294cfe
100644
(file)
--- a/
include/net/switchdev.h
+++ b/
include/net/switchdev.h
@@
-201,8
+201,6
@@
struct switchdev_obj_in_state_mrp {
#define SWITCHDEV_OBJ_IN_STATE_MRP(OBJ) \
container_of((OBJ), struct switchdev_obj_in_state_mrp, obj)
-typedef int switchdev_obj_dump_cb_t(struct switchdev_obj *obj);
-
struct switchdev_brport {
struct net_device *dev;
const void *ctx;