From 664ef9a3e1016e80fc1fcbbef6e9f66a2ededfe6 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sat, 30 Jun 2018 19:34:41 +0200 Subject: pkg/compiler: check for unused declarations Error on unused structs/unions/resources/flags. Finds tons of bugs. --- sys/linux/socket_netlink_amd64.const | 8 -------- 1 file changed, 8 deletions(-) (limited to 'sys/linux/socket_netlink_amd64.const') diff --git a/sys/linux/socket_netlink_amd64.const b/sys/linux/socket_netlink_amd64.const index 3d8165c20..0ae174121 100644 --- a/sys/linux/socket_netlink_amd64.const +++ b/sys/linux/socket_netlink_amd64.const @@ -1,11 +1,5 @@ # AUTOGENERATED FILE -AF_BRIDGE = 7 -AF_INET = 2 -AF_INET6 = 10 -AF_MPLS = 28 AF_NETLINK = 16 -AF_PHONET = 35 -AF_QIPCRTR = 42 AF_UNSPEC = 0 NETLINK_ADD_MEMBERSHIP = 1 NETLINK_AUDIT = 9 @@ -56,8 +50,6 @@ NLM_F_MULTI = 2 NLM_F_REPLACE = 256 NLM_F_REQUEST = 1 NLM_F_ROOT = 256 -RTNL_FAMILY_IP6MR = 129 -RTNL_FAMILY_IPMR = 128 SOCK_RAW = 3 SOL_NETLINK = 270 __NR_bind = 49 -- cgit mrf-deployment