aboutsummaryrefslogtreecommitdiffstats
path: root/tools/hv/hv_fcopy_daemon.c
diff options
context:
space:
mode:
authorWeibing Zhang <atheism.zhang@gmail.com>2016-11-06 13:14:15 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-07 10:01:17 +0100
commit0c38cda64aecb4a821210bb2d3d04092c181c0ae (patch)
tree3511f77e9a570d0593ac309eea25a4af589a5fc3 /tools/hv/hv_fcopy_daemon.c
parenttools: hv: fix a compile warning in snprintf (diff)
downloadlinux-dev-0c38cda64aecb4a821210bb2d3d04092c181c0ae.tar.xz
linux-dev-0c38cda64aecb4a821210bb2d3d04092c181c0ae.zip
tools: hv: remove unnecessary header files and netlink related code
Remove unnecessary header files and netlink related code as the daemons do not use netlink to communicate with the kernel now. Signed-off-by: Weibing Zhang <atheism.zhang@gmail.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/hv/hv_fcopy_daemon.c')
-rw-r--r--tools/hv/hv_fcopy_daemon.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/hv/hv_fcopy_daemon.c b/tools/hv/hv_fcopy_daemon.c
index fdc9ca4c0356..26ae609a9448 100644
--- a/tools/hv/hv_fcopy_daemon.c
+++ b/tools/hv/hv_fcopy_daemon.c
@@ -18,21 +18,14 @@
#include <sys/types.h>
-#include <sys/socket.h>
-#include <sys/poll.h>
-#include <linux/types.h>
-#include <linux/kdev_t.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
-#include <string.h>
-#include <ctype.h>
#include <errno.h>
#include <linux/hyperv.h>
#include <syslog.h>
#include <sys/stat.h>
#include <fcntl.h>
-#include <dirent.h>
#include <getopt.h>
static int target_fd;