]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net/cmsg_sender: Remove a semicolon
authorLi kunyu <kunyu@nfschina.com>
Fri, 1 Jul 2022 09:13:45 +0000 (17:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jul 2022 12:52:28 +0000 (13:52 +0100)
Remove the repeated ';' from code.

Signed-off-by: Li kunyu <kunyu@nfschina.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/cmsg_sender.c

index bc2162909a1af5aad1bb3e80aaf5706c48dcf960..75dd83e39207bd38d6943c4eff5d155c005e12d3 100644 (file)
@@ -456,7 +456,7 @@ int main(int argc, char *argv[])
                buf[1] = 0;
        } else if (opt.sock.type == SOCK_RAW) {
                struct udphdr hdr = { 1, 2, htons(opt.size), 0 };
-               struct sockaddr_in6 *sin6 = (void *)ai->ai_addr;;
+               struct sockaddr_in6 *sin6 = (void *)ai->ai_addr;
 
                memcpy(buf, &hdr, sizeof(hdr));
                sin6->sin6_port = htons(opt.sock.proto);