diff options
author | David S. Miller <davem@davemloft.net> | 2021-06-18 23:02:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-18 23:02:45 +0300 |
commit | 103ebe658a262ef5b5db7f01d83857cf82a087d0 (patch) | |
tree | 6cb49e7b655cc363f24a5d479349c6d2a6dba712 /net | |
parent | 1f3c98eaddec857e16a7a1c6cd83317b3dc89438 (diff) | |
download | linux-103ebe658a262ef5b5db7f01d83857cf82a087d0.tar.xz |
Revert "net: add pf_family_names[] for protocol family"
This reverts commit 1f3c98eaddec857e16a7a1c6cd83317b3dc89438.
Does not build...
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r-- | net/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c index ff544cf50321..27e3e7d53f8e 100644 --- a/net/socket.c +++ b/net/socket.c @@ -2988,7 +2988,7 @@ int sock_register(const struct net_proto_family *ops) } spin_unlock(&net_family_lock); - pr_info("NET: Registered %s protocol family\n", pf_family_names[ops->family]); + pr_info("NET: Registered protocol family %d\n", ops->family); return err; } EXPORT_SYMBOL(sock_register); |