- infiniband-hw-nes-avoid-unnecessary-memset.patch removed from -mm tree

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

 



The patch titled
     infiniband/hw/nes/: avoid unnecessary memset
has been removed from the -mm tree.  Its filename was
     infiniband-hw-nes-avoid-unnecessary-memset.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: infiniband/hw/nes/: avoid unnecessary memset
From: Christophe Jaillet <christophe.jaillet@xxxxxxxxxx>

Remove an explicit memset(.., 0, ...) to a variable allocated with kzalloc
(i.e.  'listener').

Signed-off-by: Christophe Jaillet <christophe.jaillet@xxxxxxxxxx>
Acked-by: Faisal Latif <faisal@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/infiniband/hw/nes/nes_cm.c |    1 -
 1 file changed, 1 deletion(-)

diff -puN drivers/infiniband/hw/nes/nes_cm.c~infiniband-hw-nes-avoid-unnecessary-memset drivers/infiniband/hw/nes/nes_cm.c
--- a/drivers/infiniband/hw/nes/nes_cm.c~infiniband-hw-nes-avoid-unnecessary-memset
+++ a/drivers/infiniband/hw/nes/nes_cm.c
@@ -1603,7 +1603,6 @@ static struct nes_cm_listener *mini_cm_l
 			return NULL;
 		}
 
-		memset(listener, 0, sizeof(struct nes_cm_listener));
 		listener->loc_addr = htonl(cm_info->loc_addr);
 		listener->loc_port = htons(cm_info->loc_port);
 		listener->reused_node = 0;
_

Patches currently in -mm which might be from christophe.jaillet@xxxxxxxxxx are

origin.patch
linux-next.patch
drivers-net-ehea-remove-unnecessary-memset-after-kzalloc.patch
accessrunner-avoid-unnecessary-memset.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