kernel: 5.4: import wireguard backport
[openwrt/openwrt.git] / target / linux / generic / backport-5.4 / 080-wireguard-0091-wireguard-selftests-remove-duplicated-include-sys-ty.patch
1 From 4c680d3ca400288018c9b9fff0c5df4dbed96e84 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 091/124] wireguard: selftests: remove duplicated include
5 <sys/types.h>
6
7 commit 166391159c5deb84795d2ff46e95f276177fa5fb upstream.
8
9 This commit removes a duplicated include.
10
11 Signed-off-by: YueHaibing <yuehaibing@huawei.com>
12 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
13 Signed-off-by: David S. Miller <davem@davemloft.net>
14 Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
15 ---
16 tools/testing/selftests/wireguard/qemu/init.c | 1 -
17 1 file changed, 1 deletion(-)
18
19 --- a/tools/testing/selftests/wireguard/qemu/init.c
20 +++ b/tools/testing/selftests/wireguard/qemu/init.c
21 @@ -13,7 +13,6 @@
22 #include <fcntl.h>
23 #include <sys/wait.h>
24 #include <sys/mount.h>
25 -#include <sys/types.h>
26 #include <sys/stat.h>
27 #include <sys/types.h>
28 #include <sys/io.h>