+ velocity-remove-an-unused-function-from-the-header.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     VELOCITY: remove an unused function from the header

has been added to the -mm tree.  Its filename is

     velocity-remove-an-unused-function-from-the-header.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: VELOCITY: remove an unused function from the header
From: Henrik Kretzschmar <henne@xxxxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/net/via-velocity.h |   19 -------------------
 1 files changed, 19 deletions(-)

diff -puN drivers/net/via-velocity.h~velocity-remove-an-unused-function-from-the-header drivers/net/via-velocity.h
--- a/drivers/net/via-velocity.h~velocity-remove-an-unused-function-from-the-header
+++ a/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.
  */
_

Patches currently in -mm which might be from henne@xxxxxxxxxxxxxxxx are

git-netdev-all.patch
velocity-remove-an-unused-function-from-the-header.patch
tg3-convert-the-pci_device_id-table-to-pci_device.patch
pci_module_init-conversion-in-scsi-subsys-2nd-try.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux