Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932369AbcKASQB (ORCPT ); Tue, 1 Nov 2016 14:16:01 -0400 Received: from p3plsmtps2ded01.prod.phx3.secureserver.net ([208.109.80.58]:32770 "EHLO p3plsmtps2ded01.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753880AbcKASOh (ORCPT ); Tue, 1 Nov 2016 14:14:37 -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 V2 11/14] tools: hv: remove unnecessary header files and netlink related code Date: Tue, 1 Nov 2016 13:07:31 -0700 Message-Id: <1478030854-5970-11-git-send-email-kys@exchange.microsoft.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1478030854-5970-1-git-send-email-kys@exchange.microsoft.com> References: <1478030807-5915-1-git-send-email-kys@exchange.microsoft.com> <1478030854-5970-1-git-send-email-kys@exchange.microsoft.com> Reply-To: kys@microsoft.com X-CMAE-Envelope: MS4wfHLJXns+hTFGQcTDWgmPX7OdanOfo+E2n53c9tWoSgEHJOAst6gyrj4i+vq5i7XaU5kNdxair9eDFQIL5+QhZzotsOiC/ByrV1Ttu60bLSKhryP91uop d52CvwkBSqk7W0L0zN8ifVxVVcoEkHXc2MAOAtFP/NTGDYv8C+p9ybzEREXehKyb4P1FmQhSc4WcjDUNiFqt9mEcv6ppCRPem5L/tze2f1NCrncVAYiFHC92 j+qitNLQPxxE31jHAQRjv4+smxHPISWhVsxjDjjcw9bsl4do+hLwkjL67R9Nq7psTWpKPDt+/3pWUUjREIYyvIy7Iyr+frRJbtia9P6zPTBkDZ+RO32cm67I +G6uEoFnHknJ19taxLevo59XwOIEHhaeDpQ+u5Hd5JabYHASpkBb0LMBvsqxxIu76Pa7J0PoGVHm0FZEE8Rl9jx7vhF7iRzMIm6ERW6xROjAlvBJBeDB9Rj4 cxA/q33PCj3SKhdhF0zszUuF+yEjt6jrF6qP4uZW5Z6DnyBL+YuUQMuRxWk= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1763 Lines: 72 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 @@ enum { #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