From 51b6d9c299f10780b3093d3748257ecc4ae7340d Mon Sep 17 00:00:00 2001 From: Jim Lieb Date: Wed, 12 Aug 2009 14:54:10 -0700 Subject: Staging: vt665x: Remove umem.h Part 1 Remove references to umem.h macros and refer directly to memcpy functions. Delete the include file. Signed-off-by: Jim Lieb Signed-off-by: Greg Kroah-Hartman --- drivers/staging/vt6655/mib.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'drivers/staging/vt6655/mib.c') diff --git a/drivers/staging/vt6655/mib.c b/drivers/staging/vt6655/mib.c index f411aced328..48484bbe7f2 100644 --- a/drivers/staging/vt6655/mib.c +++ b/drivers/staging/vt6655/mib.c @@ -43,7 +43,6 @@ #include "tether.h" #include "mib.h" #include "wctl.h" -#include "umem.h" #include "baseband.h" /*--------------------- Static Definitions -------------------------*/ @@ -75,7 +74,7 @@ static int msglevel =MSG_LEVEL_INFO; void STAvClearAllCounter (PSStatCounter pStatistic) { // set memory to zero - ZERO_MEMORY(pStatistic, sizeof(SStatCounter)); + memset(pStatistic, 0, sizeof(SStatCounter)); } @@ -410,7 +409,7 @@ STAvUpdateRDStatCounterEx ( // rx length pStatistic->dwCntRxFrmLength = cbFrameLength; // rx pattern, we just see 10 bytes for sample - MEMvCopy(pStatistic->abyCntRxPattern, (PBYTE)pbyBuffer, 10); + memcpy(pStatistic->abyCntRxPattern, (PBYTE)pbyBuffer, 10); } @@ -535,7 +534,7 @@ STAvUpdateTDStatCounterEx ( // tx length pStatistic->dwCntTxBufLength = uPktLength; // tx pattern, we just see 16 bytes for sample - MEMvCopy(pStatistic->abyCntTxPattern, pbyBuffer, 16); + memcpy(pStatistic->abyCntTxPattern, pbyBuffer, 16); } @@ -595,5 +594,5 @@ void STAvClear802_11Counter(PSDot11Counters p802_11Counter) { // set memory to zero - ZERO_MEMORY(p802_11Counter, sizeof(SDot11Counters)); + memset(p802_11Counter, 0, sizeof(SDot11Counters)); } -- cgit v1.2.3