kernel: 5.4: import wireguard backport
[openwrt/openwrt.git] / target / linux / generic / backport-5.4 / 080-wireguard-0090-wireguard-selftests-remove-duplicated-include-sys-ty.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: YueHaibing <yuehaibing@huawei.com>
3 Date: Wed, 18 Mar 2020 18:30:43 -0600
4 Subject: [PATCH] wireguard: selftests: remove duplicated include <sys/types.h>
5
6 commit 166391159c5deb84795d2ff46e95f276177fa5fb upstream.
7
8 This commit removes a duplicated include.
9
10 Signed-off-by: YueHaibing <yuehaibing@huawei.com>
11 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
12 Signed-off-by: David S. Miller <davem@davemloft.net>
13 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
14 ---
15 tools/testing/selftests/wireguard/qemu/init.c | 1 -
16 1 file changed, 1 deletion(-)
17
18 --- a/tools/testing/selftests/wireguard/qemu/init.c
19 +++ b/tools/testing/selftests/wireguard/qemu/init.c
20 @@ -13,7 +13,6 @@
21 #include <fcntl.h>
22 #include <sys/wait.h>
23 #include <sys/mount.h>
24 -#include <sys/types.h>
25 #include <sys/stat.h>
26 #include <sys/types.h>
27 #include <sys/io.h>