diff options
author | Henrik Kretzschmar | 2006-08-15 11:41:11 +0200 |
---|---|---|
committer | Jeff Garzik | 2006-08-19 23:46:33 +0200 |
commit | 5243a37b7991c85e3ea3afb6e3e13eea7ec2927d (patch) | |
tree | f00a3c22acf4f5297752ee935dd24ef5012efd87 /drivers/net/via-velocity.h | |
parent | Merge branch 'upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/linv... (diff) | |
download | kernel-qcow2-linux-5243a37b7991c85e3ea3afb6e3e13eea7ec2927d.tar.gz kernel-qcow2-linux-5243a37b7991c85e3ea3afb6e3e13eea7ec2927d.tar.xz kernel-qcow2-linux-5243a37b7991c85e3ea3afb6e3e13eea7ec2927d.zip |
[PATCH] remove an unused function from the header
Removes an unused function from the via-velocity-driver.
It doesn't make the binary smaller, but the source cleaner.
Signed-off-by: Henrik Kretzschmar <henne@nachtwindheim.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/via-velocity.h')
-rw-r--r-- | drivers/net/via-velocity.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/net/via-velocity.h b/drivers/net/via-velocity.h index 496c3d597444..4665ef2c63df 100644 --- a/drivers/net/via-velocity.h +++ b/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. */ |