diff options
Diffstat (limited to 'ncr-data.c')
-rw-r--r-- | ncr-data.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ncr-data.c b/ncr-data.c index 90986bca21d..2c4c3ac032d 100644 --- a/ncr-data.c +++ b/ncr-data.c @@ -22,7 +22,6 @@ #include <linux/crypto.h> #include <linux/mm.h> #include <linux/highmem.h> -#include <linux/random.h> #include "cryptodev.h" #include <asm/uaccess.h> #include <asm/ioctl.h> @@ -32,8 +31,6 @@ #define err() printk(KERN_DEBUG"ncr: %s: %d\n", __func__, __LINE__) -static void _ncr_data_item_put( struct data_item* item); - void ncr_data_list_deinit(struct list_sem_st* lst) { if(lst) { @@ -66,7 +63,7 @@ int mx = 0; } /* returns the data item corresponding to desc */ -static struct data_item* ncr_data_item_get( struct list_sem_st* lst, ncr_data_t desc) +struct data_item* ncr_data_item_get( struct list_sem_st* lst, ncr_data_t desc) { struct data_item* item; @@ -94,7 +91,7 @@ static void* data_alloc(size_t size) return kmalloc(size, GFP_KERNEL); } -static void _ncr_data_item_put( struct data_item* item) +void _ncr_data_item_put( struct data_item* item) { if (atomic_dec_and_test(&item->refcnt)) { ncr_limits_remove(item->filp, LIMIT_TYPE_DATA); |