The patch titled drivers/block/pktcdvd.c: avoid useless memset has been removed from the -mm tree. Its filename was drivers-block-pktcdvdc-avoid-useless-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: drivers/block/pktcdvd.c: avoid useless memset From: Christophe Jaillet <jaillet.christophe@xxxxxxxxxx> Avoid the 'memset(...,0, ...)' before calling 'init_cdrom_command' because this function already does it. Signed-off-by: Christophe Jaillet <jaillet.christophe@xxxxxxxxxx> Acked-by: Peter Osterlund <petero2@xxxxxxxxx> Cc: Jens Axboe <jens.axboe@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/block/pktcdvd.c | 2 -- 1 file changed, 2 deletions(-) diff -puN drivers/block/pktcdvd.c~drivers-block-pktcdvdc-avoid-useless-memset drivers/block/pktcdvd.c --- a/drivers/block/pktcdvd.c~drivers-block-pktcdvdc-avoid-useless-memset +++ a/drivers/block/pktcdvd.c @@ -2082,7 +2082,6 @@ static noinline_for_stack int pkt_write_ unsigned char buf[64]; int ret; - memset(buf, 0, sizeof(buf)); init_cdrom_command(&cgc, buf, sizeof(buf), CGC_DATA_READ); cgc.sense = &sense; cgc.buflen = pd->mode_offset + 12; @@ -2129,7 +2128,6 @@ static noinline_for_stack int pkt_get_ma unsigned char *cap_buf; int ret, offset; - memset(buf, 0, sizeof(buf)); cap_buf = &buf[sizeof(struct mode_page_header) + pd->mode_offset]; init_cdrom_command(&cgc, buf, sizeof(buf), CGC_DATA_UNKNOWN); cgc.sense = &sense; _ Patches currently in -mm which might be from jaillet.christophe@xxxxxxxxxx are linux-next.patch drivers-media-video-videobuf-dma-sgc-avoid-clearing-memory-twice.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