From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S941344AbcJSOTI (ORCPT ); Wed, 19 Oct 2016 10:19:08 -0400 Received: from mail-pf0-f196.google.com ([209.85.192.196]:34035 "EHLO mail-pf0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936501AbcJSOSG (ORCPT ); Wed, 19 Oct 2016 10:18:06 -0400 From: Weibing Zhang To: kys@microsoft.com, haiyangz@microsoft.com Cc: devel@linuxdriverproject.org, linux-kernel@vger.kernel.org, Weibing Zhang Subject: [PATCH 3/3] tools: hv: remove unnecessary header files and netlink related code Date: Wed, 19 Oct 2016 18:06:49 +0800 Message-Id: <1476871609-9245-3-git-send-email-atheism.zhang@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1476871609-9245-1-git-send-email-atheism.zhang@gmail.com> References: <1476871609-9245-1-git-send-email-atheism.zhang@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- tools/hv/hv_fcopy_daemon.c | 7 ------- tools/hv/hv_kvp_daemon.c | 7 ------- 2 files changed, 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]; -- 2.7.4