Commit f2305869 authored by Lidza Louina's avatar Lidza Louina Committed by Greg Kroah-Hartman

staging: dgnc: driver.c and .h: removes dgnc_driver_kzmalloc func

This patch removes the dgnc_driver_kzmalloc function from
driver.c and driver.h. A previous patch replaced all
dgnc_driver_kzmalloc function calls with kzalloc.
Signed-off-by: default avatarLidza Louina <lidza.louina@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 52f9d668
......@@ -889,21 +889,6 @@ static void dgnc_init_globals(void)
*
************************************************************************/
/*
* dgnc_driver_kzmalloc()
*
* Malloc and clear memory,
*/
void *dgnc_driver_kzmalloc(size_t size, int priority)
{
void *p = kmalloc(size, priority);
if(p)
memset(p, 0, size);
return(p);
}
/*
* dgnc_ms_sleep()
*
......
......@@ -542,7 +542,6 @@ struct channel_t {
*************************************************************************/
extern int dgnc_ms_sleep(ulong ms);
extern void *dgnc_driver_kzmalloc(size_t size, int priority);
extern char *dgnc_ioctl_name(int cmd);
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment