Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965339AbWHOJl6 (ORCPT ); Tue, 15 Aug 2006 05:41:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965337AbWHOJl5 (ORCPT ); Tue, 15 Aug 2006 05:41:57 -0400 Received: from server6.greatnet.de ([83.133.96.26]:436 "EHLO server6.greatnet.de") by vger.kernel.org with ESMTP id S965237AbWHOJl5 (ORCPT ); Tue, 15 Aug 2006 05:41:57 -0400 Message-ID: <44E196B7.6060305@nachtwindheim.de> Date: Tue, 15 Aug 2006 11:41:11 +0200 From: Henne User-Agent: Thunderbird 1.5.0.5 (X11/20060725) MIME-Version: 1.0 To: akpm@osdl.org, jgarzik@pobox.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] [NET] [VELOCITY] remove an unused function from the header Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1234 Lines: 44 From: Henrik Kretzschmar 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 --- --- linux-2.6.18-rc2-git6/drivers/net/via-velocity.h 2006-07-30 23:25:59.000000000 +0200 +++ linux/drivers/net/via-velocity.h 2006-08-07 15:24:54.000000000 +0200 @@ -262,25 +262,6 @@ 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. */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/