The patch titled Remove unnecessary memset(0) calls after kzalloc() calls. has been removed from the -mm tree. Its filename was remove-unnecessary-memset0-calls-after-kzalloc-calls.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: Remove unnecessary memset(0) calls after kzalloc() calls. From: "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx> Delete the few remaining unnecessary calls to memset(0) after a call to kzalloc(). Signed-off-by: Robert P. J. Day <rpjday@xxxxxxxxxxxxxx> Cc: Andi Kleen <ak@xxxxxxx> Cc: Dmitry Torokhov <dtor@xxxxxxx> Cc: Adam Belay <ambx1@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/x86_64/kernel/mce_amd.c | 2 -- drivers/input/gameport/ns558.c | 1 - drivers/pnp/pnpbios/rsparser.c | 1 - 3 files changed, 4 deletions(-) diff -puN arch/x86_64/kernel/mce_amd.c~remove-unnecessary-memset0-calls-after-kzalloc-calls arch/x86_64/kernel/mce_amd.c --- a/arch/x86_64/kernel/mce_amd.c~remove-unnecessary-memset0-calls-after-kzalloc-calls +++ a/arch/x86_64/kernel/mce_amd.c @@ -401,7 +401,6 @@ static __cpuinit int allocate_threshold_ b = kzalloc(sizeof(struct threshold_block), GFP_KERNEL); if (!b) return -ENOMEM; - memset(b, 0, sizeof(struct threshold_block)); b->block = block; b->bank = bank; @@ -490,7 +489,6 @@ static __cpuinit int threshold_create_ba err = -ENOMEM; goto out; } - memset(b, 0, sizeof(struct threshold_bank)); kobject_set_name(&b->kobj, "threshold_bank%i", bank); b->kobj.parent = &per_cpu(device_mce, cpu).kobj; diff -puN drivers/input/gameport/ns558.c~remove-unnecessary-memset0-calls-after-kzalloc-calls drivers/input/gameport/ns558.c --- a/drivers/input/gameport/ns558.c~remove-unnecessary-memset0-calls-after-kzalloc-calls +++ a/drivers/input/gameport/ns558.c @@ -151,7 +151,6 @@ static int ns558_isa_probe(int io) return -ENOMEM; } - memset(ns558, 0, sizeof(struct ns558)); ns558->io = io; ns558->size = 1 << i; ns558->gameport = port; diff -puN drivers/pnp/pnpbios/rsparser.c~remove-unnecessary-memset0-calls-after-kzalloc-calls drivers/pnp/pnpbios/rsparser.c --- a/drivers/pnp/pnpbios/rsparser.c~remove-unnecessary-memset0-calls-after-kzalloc-calls +++ a/drivers/pnp/pnpbios/rsparser.c @@ -530,7 +530,6 @@ pnpbios_parse_compatible_ids(unsigned ch dev_id = kzalloc(sizeof (struct pnp_id), GFP_KERNEL); if (!dev_id) return NULL; - memset(dev_id, 0, sizeof(struct pnp_id)); pnpid32_to_pnpid(p[1] | p[2] << 8 | p[3] << 16 | p[4] << 24,id); memcpy(&dev_id->id, id, 7); pnp_add_id(dev_id, dev); _ Patches currently in -mm which might be from rpjday@xxxxxxxxxxxxxx are origin.patch git-avr32.patch git-dvb.patch kbuild-remove-references-to-deprecated-prepare-all-target.patch git-mips.patch git-netdev-all.patch remove-useless-find_first_bit-macro-from-cardbusc.patch remove-some-unused-scsi-related-kernel-config-variables.patch scsi-fix-obvious-typo-spin_lock_irqrestore-in-gdthc.patch fix-misspelled-usbnet_mii-kernel-config-option.patch fix-apparent-typo-config_usb_cdcether.patch ntfs-rename-incorrect-check-of-ntfs_debug-with-just-debug.patch quota-have-linux-quotah-include-linux-rwsemh-explicitly.patch isdn-fix-typo-config_hisax_quadro-config_hisax_sct_quadro.patch isdn-rename-some-debugging-macros-to-not-resemble-config.patch isdn-rename-debug-option-config_serial_nopause_io.patch isdn-remove-defunct-test-emulator.patch isdn-rename-special-macro-config_hisax_hfc4s8s_pcimem.patch correct-apparent-typo-config_aty_ct-in-aty-video.patch oss-replace-kmallocmemset-combos-with-kzalloc.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