From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759456AbcJaFtn (ORCPT ); Mon, 31 Oct 2016 01:49:43 -0400 Received: from p3plsmtps2ded01.prod.phx3.secureserver.net ([208.109.80.58]:41710 "EHLO p3plsmtps2ded01.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759061AbcJaFs7 (ORCPT ); Mon, 31 Oct 2016 01:48:59 -0400 x-originating-ip: 72.167.245.219 From: kys@exchange.microsoft.com To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, devel@linuxdriverproject.org, olaf@aepfle.de, apw@canonical.com, vkuznets@redhat.com, jasowang@redhat.com, leann.ogasawara@canonical.com, sthemmin@microsoft.com Cc: Weibing Zhang , "K. Y. Srinivasan" Subject: [PATCH 11/15] tools: hv: remove unnecessary header files and netlink related code Date: Mon, 31 Oct 2016 00:41:46 -0700 Message-Id: <1477899710-28675-11-git-send-email-kys@exchange.microsoft.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1477899710-28675-1-git-send-email-kys@exchange.microsoft.com> References: <1477899668-28635-1-git-send-email-kys@exchange.microsoft.com> <1477899710-28675-1-git-send-email-kys@exchange.microsoft.com> Reply-To: kys@microsoft.com X-CMAE-Envelope: MS4wfOoBE6Kf+u6UIOV3WwBQbJ1C3EsneSBC8gk3KzGgX+/PqWun4GoApn18mOd5vzem9bdUoMGbvp1DpHsiwosUTGjj6DFBy8UMZKLF9pjR3e5RtVut7qpY tvKJGldl1yVmMnPUyPklAOfnJOp+CCO4L9jLTVgRFH/DhuKkkz2HOcGZUFT6pToweqMUqFlZPWP2Dfbwds4nmhj63poZzvyh7CWl0SK0G6NM2VkuH3j0ESgm 8Fek1LlybiBaOrPR0vKJlMhPq88jY9A62mdwkm8ZX9qF2NYmDGdtTTT+z0I0VDpJHmv2uDaMgnBCg7Qsl6apO4UBF7R1pPiJPjiBsGn5fgwCro0wzxS0/kEo rho72Yif86LoGxkR7X5xm/aiECYYbPSRwIoiB9peely+D7d23FAk4iFRi0mliXRiKgAADXgJWbb/RkU67uLC2cjxILipJyf6+yJqBBC3p1E+vXRGnfIk/iY3 fR/5h0meZsj1Kdvzlz8PsrQqdMItyB1kXbBvGzpvjwfnCmVeb7OHTH47/FU= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Weibing Zhang 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 Signed-off-by: K. Y. Srinivasan --- tools/hv/hv_fcopy_daemon.c | 7 ------- tools/hv/hv_kvp_daemon.c | 7 ------- 2 files changed, 0 insertions(+), 14 deletions(-) diff --git a/tools/hv/hv_fcopy_daemon.c b/tools/hv/hv_fcopy_daemon.c index fdc9ca4..26ae609 100644 --- a/tools/hv/hv_fcopy_daemon.c +++ b/tools/hv/hv_fcopy_daemon.c @@ -18,21 +18,14 @@ #include -#include -#include -#include -#include #include #include #include -#include -#include #include #include #include #include #include -#include #include static int target_fd; diff --git a/tools/hv/hv_kvp_daemon.c b/tools/hv/hv_kvp_daemon.c index bb0719b..d791dbf 100644 --- a/tools/hv/hv_kvp_daemon.c +++ b/tools/hv/hv_kvp_daemon.c @@ -22,8 +22,6 @@ */ -#include -#include #include #include #include @@ -34,7 +32,6 @@ #include #include #include -#include #include #include #include @@ -99,10 +96,6 @@ static struct utsname uts_buf; #define MAX_FILE_NAME 100 #define ENTRIES_PER_BLOCK 50 -#ifndef SOL_NETLINK -#define SOL_NETLINK 270 -#endif - struct kvp_record { char key[HV_KVP_EXCHANGE_MAX_KEY_SIZE]; char value[HV_KVP_EXCHANGE_MAX_VALUE_SIZE]; -- 1.7.4.1