From b1fe0dca03ea41c703f2899991ae6b45dbb48e2b Mon Sep 17 00:00:00 2001
From: Greg Kroah-Hartman <gregkh@suse.de>
Date: Wed, 19 Aug 2009 16:20:15 -0700
Subject: [PATCH] Staging: hv: remove include/HvTypes.h

It isn't needed at all, was only being used for one typedef,
which is now removed.

Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
 drivers/staging/hv/Hv.h                 |  1 -
 drivers/staging/hv/include/HvSynicApi.h |  4 ++--
 drivers/staging/hv/include/HvTypes.h    | 31 -------------------------
 3 files changed, 2 insertions(+), 34 deletions(-)
 delete mode 100644 drivers/staging/hv/include/HvTypes.h

diff --git a/drivers/staging/hv/Hv.h b/drivers/staging/hv/Hv.h
index 8058a534efcd..f9fcfed8df5c 100644
--- a/drivers/staging/hv/Hv.h
+++ b/drivers/staging/hv/Hv.h
@@ -25,7 +25,6 @@
 #ifndef __HV_H__
 #define __HV_H__
 
-#include "include/HvTypes.h"
 #include "include/HvStatus.h"
 #include "include/HvHalApi.h"
 #include "include/HvVpApi.h"
diff --git a/drivers/staging/hv/include/HvSynicApi.h b/drivers/staging/hv/include/HvSynicApi.h
index 17e2187d5c07..99eeed4716b5 100644
--- a/drivers/staging/hv/include/HvSynicApi.h
+++ b/drivers/staging/hv/include/HvSynicApi.h
@@ -224,7 +224,7 @@ typedef struct _HV_PORT_INFO
 
 	struct
 	{
-	    HV_GPA MonitorAddress;
+	    u64 MonitorAddress;
 	    u64 RsvdZ;
 	} MonitorPortInfo;
     };
@@ -251,7 +251,7 @@ typedef struct _HV_CONNECTION_INFO
 
 	struct
 	{
-	    HV_GPA MonitorAddress;
+	    u64 MonitorAddress;
 	} MonitorConnectionInfo;
     };
 } HV_CONNECTION_INFO, *PHV_CONNECTION_INFO;
diff --git a/drivers/staging/hv/include/HvTypes.h b/drivers/staging/hv/include/HvTypes.h
deleted file mode 100644
index 5741c358b416..000000000000
--- a/drivers/staging/hv/include/HvTypes.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- *
- * Copyright (c) 2009, Microsoft Corporation.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along with
- * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
- * Place - Suite 330, Boston, MA 02111-1307 USA.
- *
- * Authors:
- *   Haiyang Zhang <haiyangz@microsoft.com>
- *   Hank Janssen  <hjanssen@microsoft.com>
- *
- */
-
-
-#pragma once
-
-typedef u64 HV_GPA, *PHV_GPA;
-
-#define HV_X64_PAGE_SIZE (4096)
-#define HV_PAGE_SIZE HV_X64_PAGE_SIZE
-
-- 
GitLab