[PATCH 276/641] Staging: hv: remove include/HvTypes.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Cc: Hank Janssen <hjanssen@xxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
---
 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 8058a53..f9fcfed 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 17e2187..99eeed4 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 5741c35..0000000
--- 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@xxxxxxxxxxxxx>
- *   Hank Janssen  <hjanssen@xxxxxxxxxxxxx>
- *
- */
-
-
-#pragma once
-
-typedef u64 HV_GPA, *PHV_GPA;
-
-#define HV_X64_PAGE_SIZE (4096)
-#define HV_PAGE_SIZE HV_X64_PAGE_SIZE
-
-- 
1.6.4.2

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux