summaryrefslogtreecommitdiff
path: root/include/net/bareudp.h
diff options
context:
space:
mode:
authorGuillaume Nault <gnault@redhat.com>2021-12-10 20:56:36 +0100
committerDavid S. Miller <davem@davemloft.net>2021-12-13 12:34:09 +0000
commit614b7a1f28f401332736235a7d2d17ceda16945c (patch)
tree0994a9308bf99552b720467042d35fdeab5b9e20 /include/net/bareudp.h
parent6180c780e64ceb8dd23345b586dfa70c0a1536ee (diff)
bareudp: Remove bareudp_dev_create()
There's no user for this function. Signed-off-by: Guillaume Nault <gnault@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/bareudp.h')
-rw-r--r--include/net/bareudp.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/net/bareudp.h b/include/net/bareudp.h
index dc65a0d71d9b..8f07a91e0f25 100644
--- a/include/net/bareudp.h
+++ b/include/net/bareudp.h
@@ -14,10 +14,6 @@ struct bareudp_conf {
bool multi_proto_mode;
};
-struct net_device *bareudp_dev_create(struct net *net, const char *name,
- u8 name_assign_type,
- struct bareudp_conf *info);
-
static inline bool netif_is_bareudp(const struct net_device *dev)
{
return dev->rtnl_link_ops &&