From cf969fc5d68488abebd36c879e7ae495a3cf2bae Mon Sep 17 00:00:00 2001 From: Henrik Kretzschmar Date: Tue, 15 Aug 2006 11:41:11 +0200 Subject: [PATCH] --- yaml --- r: 35161 b: refs/heads/master c: 5243a37b7991c85e3ea3afb6e3e13eea7ec2927d h: refs/heads/master i: 35159: 87447ccda4ac01844aace2b3107f024997ff5d07 v: v3 --- [refs] | 2 +- trunk/drivers/net/via-velocity.h | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/[refs] b/[refs] index 43295e90c370..7a93967b27ba 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a513c315f95c6d73041436fd1598d51722bd6264 +refs/heads/master: 5243a37b7991c85e3ea3afb6e3e13eea7ec2927d diff --git a/trunk/drivers/net/via-velocity.h b/trunk/drivers/net/via-velocity.h index 496c3d597444..4665ef2c63df 100644 --- a/trunk/drivers/net/via-velocity.h +++ b/trunk/drivers/net/via-velocity.h @@ -262,25 +262,6 @@ struct velocity_rd_info { dma_addr_t skb_dma; }; -/** - * alloc_rd_info - allocate an rd info block - * - * Alocate and initialize a receive info structure used for keeping - * track of kernel side information related to each receive - * descriptor we are using - */ - -static inline struct velocity_rd_info *alloc_rd_info(void) -{ - struct velocity_rd_info *ptr; - if ((ptr = kmalloc(sizeof(struct velocity_rd_info), GFP_ATOMIC)) == NULL) - return NULL; - else { - memset(ptr, 0, sizeof(struct velocity_rd_info)); - return ptr; - } -} - /* * Used to track transmit side buffers. */