net: flow_offload: remove indirect flow_block declarations leftover
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 9 Jun 2020 21:47:44 +0000 (23:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jun 2020 23:10:11 +0000 (16:10 -0700)
Remove function declarations that are not available in the tree anymore.

Fixes: 709ffbe19b77 ("net: remove indirect block netdev event registration")
Reported-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/flow_offload.h

index 69e13c8..f2c8311 100644 (file)
@@ -542,28 +542,4 @@ int flow_indr_dev_setup_offload(struct net_device *dev,
                                struct flow_block_offload *bo,
                                void (*cleanup)(struct flow_block_cb *block_cb));
 
-typedef void flow_indr_block_cmd_t(struct net_device *dev,
-                                  flow_indr_block_bind_cb_t *cb, void *cb_priv,
-                                  enum flow_block_command command);
-
-int __flow_indr_block_cb_register(struct net_device *dev, void *cb_priv,
-                                 flow_indr_block_bind_cb_t *cb,
-                                 void *cb_ident);
-
-void __flow_indr_block_cb_unregister(struct net_device *dev,
-                                    flow_indr_block_bind_cb_t *cb,
-                                    void *cb_ident);
-
-int flow_indr_block_cb_register(struct net_device *dev, void *cb_priv,
-                               flow_indr_block_bind_cb_t *cb, void *cb_ident);
-
-void flow_indr_block_cb_unregister(struct net_device *dev,
-                                  flow_indr_block_bind_cb_t *cb,
-                                  void *cb_ident);
-
-void flow_indr_block_call(struct net_device *dev,
-                         struct flow_block_offload *bo,
-                         enum flow_block_command command,
-                         enum tc_setup_type type);
-
 #endif /* _NET_FLOW_OFFLOAD_H */