summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_memory.c
diff options
context:
space:
mode:
authorChaehyun Lim <chaehyun.lim@gmail.com>2015-08-11 10:32:40 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-14 18:59:10 -0700
commit9b45891aef5904c2a1e76881f3b44fe646d84b54 (patch)
tree37a065b9e4566ab3e03c6e81eb554ca3e0616a1c /drivers/staging/wilc1000/wilc_memory.c
parent96ac283d6490932ff5097259c18a4d03bdddb010 (diff)
downloadop-kernel-dev-9b45891aef5904c2a1e76881f3b44fe646d84b54.zip
op-kernel-dev-9b45891aef5904c2a1e76881f3b44fe646d84b54.tar.gz
staging: wilc1000: remove unused memory functions
This patch remove unused memory functions because some macros with this memory function are deleted. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_memory.c')
-rw-r--r--drivers/staging/wilc1000/wilc_memory.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/drivers/staging/wilc1000/wilc_memory.c b/drivers/staging/wilc1000/wilc_memory.c
index 34ef13e..53ba1d0 100644
--- a/drivers/staging/wilc1000/wilc_memory.c
+++ b/drivers/staging/wilc1000/wilc_memory.c
@@ -15,35 +15,7 @@ void *WILC_MemoryAlloc(u32 u32Size, tstrWILC_MemoryAttrs *strAttrs,
return NULL;
}
-/*!
- * @author syounan
- * @date 18 Aug 2010
- * @version 1.0
- */
-void *WILC_MemoryCalloc(u32 u32Size, tstrWILC_MemoryAttrs *strAttrs,
- char *pcFileName, u32 u32LineNo)
-{
- return kcalloc(u32Size, 1, GFP_KERNEL);
-}
-
-/*!
- * @author syounan
- * @date 18 Aug 2010
- * @version 1.0
- */
-void *WILC_MemoryRealloc(void *pvOldBlock, u32 u32NewSize,
- tstrWILC_MemoryAttrs *strAttrs, char *pcFileName, u32 u32LineNo)
-{
- if (u32NewSize == 0) {
- kfree(pvOldBlock);
- return NULL;
- } else if (pvOldBlock == NULL) {
- return kmalloc(u32NewSize, GFP_KERNEL);
- } else {
- return krealloc(pvOldBlock, u32NewSize, GFP_KERNEL);
- }
-}
/*!
* @author syounan
OpenPOWER on IntegriCloud