[PATCH 32/34] staging: bcm: Convert typedef LARGE_INTEGER to unsigned long long
Joe Perches
joe at perches.com
Tue Jan 10 16:54:26 UTC 2012
Use the normal types.
Remove the now unused typedef.
Signed-off-by: Joe Perches <joe at perches.com>
---
drivers/staging/bcm/Adapter.h | 4 ++--
drivers/staging/bcm/HostMIBSInterface.h | 4 ++--
drivers/staging/bcm/Typedefs.h | 1 -
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/bcm/Adapter.h b/drivers/staging/bcm/Adapter.h
index d1392ca..a329e16 100644
--- a/drivers/staging/bcm/Adapter.h
+++ b/drivers/staging/bcm/Adapter.h
@@ -198,9 +198,9 @@ struct _packet_info {
unsigned int uiSentPackets;
unsigned int uiCurrentDrainRate;
unsigned int uiThisPeriodSentBytes;
- LARGE_INTEGER liDrainCalculated;
+ unsigned long long liDrainCalculated;
unsigned int uiCurrentTokenCount;
- LARGE_INTEGER liLastUpdateTokenAt;
+ unsigned long long liLastUpdateTokenAt;
unsigned int uiMaxAllowedRate;
unsigned int NumOfPacketsSent;
unsigned char ucDirection;
diff --git a/drivers/staging/bcm/HostMIBSInterface.h b/drivers/staging/bcm/HostMIBSInterface.h
index 8e98c76..184d04f 100644
--- a/drivers/staging/bcm/HostMIBSInterface.h
+++ b/drivers/staging/bcm/HostMIBSInterface.h
@@ -180,9 +180,9 @@ typedef struct _S_MIBS_SERVICEFLOW_TABLE {
unsigned int uiSentPackets;
unsigned int uiCurrentDrainRate;
unsigned int uiThisPeriodSentBytes;
- LARGE_INTEGER liDrainCalculated;
+ unsigned long long liDrainCalculated;
unsigned int uiCurrentTokenCount;
- LARGE_INTEGER liLastUpdateTokenAt;
+ unsigned long long liLastUpdateTokenAt;
unsigned int uiMaxAllowedRate;
unsigned int NumOfPacketsSent;
unsigned char ucDirection;
diff --git a/drivers/staging/bcm/Typedefs.h b/drivers/staging/bcm/Typedefs.h
index 630d25f..bb5022f 100644
--- a/drivers/staging/bcm/Typedefs.h
+++ b/drivers/staging/bcm/Typedefs.h
@@ -11,7 +11,6 @@
typedef char BOOLEAN;
-typedef unsigned long long LARGE_INTEGER;
typedef unsigned int UINT32;
#ifndef NULL
#define NULL 0
--
1.7.8.111.gad25c.dirty
More information about the devel
mailing list