diff options
author | Christoph Jaeger | 2014-08-08 08:01:09 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-08-16 21:23:12 +0200 |
commit | 50222db4b03ac8f3259c6d39bbd585ed3358f70f (patch) | |
tree | 65e60815c6b1fb86a29ce36cbe908c2588df1507 /drivers/staging/ozwpan/ozpd.h | |
parent | staging: ozwpan: Use slab cache for oz_elt_info allocation (diff) | |
download | kernel-qcow2-linux-50222db4b03ac8f3259c6d39bbd585ed3358f70f.tar.gz kernel-qcow2-linux-50222db4b03ac8f3259c6d39bbd585ed3358f70f.tar.xz kernel-qcow2-linux-50222db4b03ac8f3259c6d39bbd585ed3358f70f.zip |
staging: ozwpan: Use slab cache for oz_tx_frame allocation
Use a slab cache rather than rolling our own free list.
Signed-off-by: Christoph Jaeger <email@christophjaeger.info>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ozwpan/ozpd.h')
-rw-r--r-- | drivers/staging/ozwpan/ozpd.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/ozwpan/ozpd.h b/drivers/staging/ozwpan/ozpd.h index 43a26ea8c9ad..212fab0d807a 100644 --- a/drivers/staging/ozwpan/ozpd.h +++ b/drivers/staging/ozwpan/ozpd.h @@ -90,8 +90,6 @@ struct oz_pd { unsigned max_stream_buffering; int nb_queued_frames; int nb_queued_isoc_frames; - struct list_head *tx_pool; - int tx_pool_count; spinlock_t tx_frame_lock; struct list_head *last_sent_frame; struct list_head tx_queue; @@ -131,5 +129,6 @@ void oz_apps_init(void); void oz_apps_term(void); extern struct kmem_cache *oz_elt_info_cache; +extern struct kmem_cache *oz_tx_frame_cache; #endif /* Sentry */ |