diff options
author | Henrik Kretzschmar <henne@nachtwindheim.de> | 2006-08-15 05:41:11 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-08-19 17:46:33 -0400 |
commit | 5243a37b7991c85e3ea3afb6e3e13eea7ec2927d (patch) | |
tree | f00a3c22acf4f5297752ee935dd24ef5012efd87 /drivers/net | |
parent | a513c315f95c6d73041436fd1598d51722bd6264 (diff) |
[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')
-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 { | |||
262 | dma_addr_t skb_dma; | 262 | dma_addr_t skb_dma; |
263 | }; | 263 | }; |
264 | 264 | ||
265 | /** | ||
266 | * alloc_rd_info - allocate an rd info block | ||
267 | * | ||
268 | * Alocate and initialize a receive info structure used for keeping | ||
269 | * track of kernel side information related to each receive | ||
270 | * descriptor we are using | ||
271 | */ | ||
272 | |||
273 | static inline struct velocity_rd_info *alloc_rd_info(void) | ||
274 | { | ||
275 | struct velocity_rd_info *ptr; | ||
276 | if ((ptr = kmalloc(sizeof(struct velocity_rd_info), GFP_ATOMIC)) == NULL) | ||
277 | return NULL; | ||
278 | else { | ||
279 | memset(ptr, 0, sizeof(struct velocity_rd_info)); | ||
280 | return ptr; | ||
281 | } | ||
282 | } | ||
283 | |||
284 | /* | 265 | /* |
285 | * Used to track transmit side buffers. | 266 | * Used to track transmit side buffers. |
286 | */ | 267 | */ |