Skip to content

Commit e8fc78e

Browse files
ColinIanKingkuba-moo
authored andcommitted
tools: ynl: remove extraneous ; after statements
There are a couple of statements with two following semicolons, replace these with just one semicolon. Signed-off-by: Colin Ian King <[email protected]> Reviewed-by: Donald Hunter <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 0143ed3 commit e8fc78e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/net/ynl/lib/ynl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -696,14 +696,14 @@ ynl_sock_create(const struct ynl_family *yf, struct ynl_error *yse)
696696
addr.nl_family = AF_NETLINK;
697697
if (bind(ys->socket, (struct sockaddr *)&addr, sizeof(addr)) < 0) {
698698
__perr(yse, "unable to bind to a socket address");
699-
goto err_close_sock;;
699+
goto err_close_sock;
700700
}
701701

702702
memset(&addr, 0, sizeof(addr));
703703
addrlen = sizeof(addr);
704704
if (getsockname(ys->socket, (struct sockaddr *)&addr, &addrlen) < 0) {
705705
__perr(yse, "unable to read socket address");
706-
goto err_close_sock;;
706+
goto err_close_sock;
707707
}
708708
ys->portid = addr.nl_pid;
709709
ys->seq = random();

0 commit comments

Comments
 (0)