diff options
| author | Donna Sharp <dksharp5@gmail.com> | 2024-10-06 19:30:56 -0400 | 
|---|---|---|
| committer | Donna Sharp <dksharp5@gmail.com> | 2024-10-06 19:30:56 -0400 | 
| commit | 103f24485c96b37cf80afce1694454693a69327c (patch) | |
| tree | 604a7f45e2f492438d9309679fbf9f11eb01d5be /zebra | |
| parent | 7a63799a843b3e001bef05f2fdd6f8082b778abf (diff) | |
zebra: remove unsued function from tc_netlink.c
Signed-off-by: Donna Sharp <dksharp5@gmail.com>
Diffstat (limited to 'zebra')
| -rw-r--r-- | zebra/tc_netlink.c | 21 | 
1 files changed, 0 insertions, 21 deletions
diff --git a/zebra/tc_netlink.c b/zebra/tc_netlink.c index 2f005d6b0a..3c4db0090c 100644 --- a/zebra/tc_netlink.c +++ b/zebra/tc_netlink.c @@ -661,27 +661,6 @@ netlink_put_tc_filter_update_msg(struct nl_batch *bth,  }  /* - * Request filters from the kernel - */ -static int netlink_request_filters(struct zebra_ns *zns, int family, int type, -				   ifindex_t ifindex) -{ -	struct { -		struct nlmsghdr n; -		struct tcmsg tc; -	} req; - -	memset(&req, 0, sizeof(req)); -	req.n.nlmsg_type = type; -	req.n.nlmsg_flags = NLM_F_ROOT | NLM_F_MATCH | NLM_F_REQUEST; -	req.n.nlmsg_len = NLMSG_LENGTH(sizeof(struct tcmsg)); -	req.tc.tcm_family = family; -	req.tc.tcm_ifindex = ifindex; - -	return netlink_request(&zns->netlink_cmd, &req); -} - -/*   * Request queue discipline from the kernel   */  static int netlink_request_qdiscs(struct zebra_ns *zns, int family, int type)  | 
