Skip to content

Commit 76342e8

Browse files
Liu Jingummakynes
authored andcommitted
selftests: netfilter: remove unused parameter
err is never used, remove it. Signed-off-by: Liu Jing <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
1 parent c05c628 commit 76342e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/testing/selftests/net/netfilter/conntrack_dump_flush.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ static int conntrack_data_insert(struct mnl_socket *sock, struct nlmsghdr *nlh,
9898
char buf[MNL_SOCKET_BUFFER_SIZE];
9999
struct nlmsghdr *rplnlh;
100100
unsigned int portid;
101-
int err, ret;
101+
int ret;
102102

103103
portid = mnl_socket_get_portid(sock);
104104

@@ -217,7 +217,7 @@ static int conntracK_count_zone(struct mnl_socket *sock, uint16_t zone)
217217
struct nfgenmsg *nfh;
218218
struct nlattr *nest;
219219
unsigned int portid;
220-
int err, ret;
220+
int ret;
221221

222222
portid = mnl_socket_get_portid(sock);
223223

@@ -264,7 +264,7 @@ static int conntrack_flush_zone(struct mnl_socket *sock, uint16_t zone)
264264
struct nfgenmsg *nfh;
265265
struct nlattr *nest;
266266
unsigned int portid;
267-
int err, ret;
267+
int ret;
268268

269269
portid = mnl_socket_get_portid(sock);
270270

0 commit comments

Comments
 (0)