Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752399AbcKFTVT (ORCPT ); Sun, 6 Nov 2016 14:21:19 -0500 Received: from p3plsmtps2ded02.prod.phx3.secureserver.net ([208.109.80.59]:41494 "EHLO p3plsmtps2ded02.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752056AbcKFTVC (ORCPT ); Sun, 6 Nov 2016 14:21:02 -0500 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 V3 11/14] tools: hv: remove unnecessary header files and netlink related code Date: Sun, 6 Nov 2016 13:14:15 -0800 Message-Id: <1478466858-32153-11-git-send-email-kys@exchange.microsoft.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1478466858-32153-1-git-send-email-kys@exchange.microsoft.com> References: <1478466784-32113-1-git-send-email-kys@exchange.microsoft.com> <1478466858-32153-1-git-send-email-kys@exchange.microsoft.com> Reply-To: kys@microsoft.com X-CMAE-Envelope: MS4wfBF2kP7eHlrC3Bi4tP20XVxj6Y1Bfjghg22kWwVLAEsToqEZD1KPfCy/728igT/czbJ29SMJtea4jE3vTTVY6EkazgmDBF2ChH6fXApS12KRIZYldzRM tPJLkFAo7qS7T0PeUN8Wkt3iPQmTW1hIOfPquiB2wWHojaVGc4eSPC6ypk+lezEPBFZvj7CmkiJtITlFBHp5FOxsMmOLbTmEeBrZQSRwlBo6f2Jx3uu+uaFH 9U7jKY00PulUf2GcyP4PXKAd5USoV0McVd7cE0dxIPsyQM8v0/WYDTc3UKoA1Pfzxa5nksvFm8Wlted2Q/hx8OWJB6m/p2mcP9o3IQrYUiYIOze+N3Km4G6f /UHwTOt4usE3OA/KTz30Zk7vsfBWHWvwhA52TDZxaMNX6cqmF10fDlEyINrgeHYby84P99tZW4VTVU4F0vw91JEMk9/VYQq48BuuqHhzy+8HlmPeDtnYi3xY WbcgGUesefMimKLQSzHrIZHHFy4YXx896onmKiw0wbci92YcHEC5JZux8Co= 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