diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-03 00:51:09 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-03 00:51:09 (GMT) |
commit | 1ec41a31fb695682cab7fc7c1f6ced84d188b6f9 (patch) | |
tree | 03d080d0f0202afef3b8b445c1f817b832ddb8d5 /drivers/staging/ozwpan/ozmain.c | |
parent | cc55bb03ea17fcbeffb5ae3ec68ea1f8673bc0c8 (diff) | |
download | linux-fsl-qoriq-1ec41a31fb695682cab7fc7c1f6ced84d188b6f9.tar.xz |
staging: ozwpan: remove debug allocator
The kernel already has a debug allocator, no need to have one unique to
a single driver. So delete it, replace with kfree, kmalloc, and, in a
few places that need it, kzalloc().
Cc: Chris Kelly <ckelly@ozmodevices.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ozwpan/ozmain.c')
-rw-r--r-- | drivers/staging/ozwpan/ozmain.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/ozwpan/ozmain.c b/drivers/staging/ozwpan/ozmain.c index d34242b..aaf2ccc 100644 --- a/drivers/staging/ozwpan/ozmain.c +++ b/drivers/staging/ozwpan/ozmain.c @@ -14,7 +14,6 @@ #include "ozpd.h" #include "ozproto.h" #include "ozcdev.h" -#include "ozalloc.h" #include "oztrace.h" #include "ozevent.h" /*------------------------------------------------------------------------------ @@ -44,7 +43,6 @@ static void __exit ozwpan_exit(void) oz_protocol_term(); oz_apps_term(); oz_cdev_deregister(); - oz_trace_leaks(); oz_event_term(); } /*------------------------------------------------------------------------------ |