mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 17:57:23 +07:00
staging: wilc1000: remove WILC_memcmp function
Remove WILC_memcmp function because it is changed to memcmp. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1a646e7e9e
commit
f6356a9617
@ -4,15 +4,6 @@
|
||||
#include "wilc_strutils.h"
|
||||
|
||||
|
||||
/*!
|
||||
* @author syounan
|
||||
* @date 18 Aug 2010
|
||||
* @version 1.0
|
||||
*/
|
||||
s32 WILC_memcmp(const void *pvArg1, const void *pvArg2, u32 u32Count)
|
||||
{
|
||||
return memcmp(pvArg1, pvArg2, u32Count);
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
|
@ -14,19 +14,6 @@
|
||||
#include <linux/string.h>
|
||||
#include "wilc_errorsupport.h"
|
||||
|
||||
/*!
|
||||
* @brief Compares two memory buffers
|
||||
* @param[in] pvArg1 pointer to the first memory location
|
||||
* @param[in] pvArg2 pointer to the second memory location
|
||||
* @param[in] u32Count the size of the memory buffers
|
||||
* @return 0 if the 2 buffers are equal, 1 if pvArg1 is bigger than pvArg2,
|
||||
* -1 if pvArg1 smaller than pvArg2
|
||||
* @note this function repeats the functionality of standard memcmp
|
||||
* @author syounan
|
||||
* @date 18 Aug 2010
|
||||
* @version 1.0
|
||||
*/
|
||||
s32 WILC_memcmp(const void *pvArg1, const void *pvArg2, u32 u32Count);
|
||||
|
||||
/*!
|
||||
* @brief Internal implementation for memory copy
|
||||
|
Loading…
Reference in New Issue
Block a user