The patch titled Remove unnecessary check in drivers/rtc/rtc-v3020.c has been removed from the -mm tree. Its filename is remove-unnecessary-check-in-drivers-rtc-rtc-v3020c.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: Remove unnecessary check in drivers/rtc/rtc-v3020.c From: Eric Sesterhenn <snakebyte@xxxxxx> Looks like the probe function always gets a valid pdev, and checking it after dereferencing it is pretty useless. This patch removes the check (cid #1365) Signed-off-by: Eric Sesterhenn <snakebyte@xxxxxx> Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx> Cc: Raphael Assenat <raph@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/rtc/rtc-v3020.c | 3 --- 1 file changed, 3 deletions(-) diff -puN drivers/rtc/rtc-v3020.c~remove-unnecessary-check-in-drivers-rtc-rtc-v3020c drivers/rtc/rtc-v3020.c --- a/drivers/rtc/rtc-v3020.c~remove-unnecessary-check-in-drivers-rtc-rtc-v3020c +++ a/drivers/rtc/rtc-v3020.c @@ -169,9 +169,6 @@ static int rtc_probe(struct platform_dev if (pdev->resource[0].flags != IORESOURCE_MEM) return -EBUSY; - if (pdev == NULL) - return -EBUSY; - chip = kzalloc(sizeof *chip, GFP_KERNEL); if (!chip) return -ENOMEM; _ Patches currently in -mm which might be from snakebyte@xxxxxx are origin.patch git-gfs2.patch remove-unnecessary-check-in-drivers-video-intelfb-intelfbhwc.patch remove-unnecessary-check-in-drivers-net-depcac.patch off-by-one-in-arch-ppc-platforms-mpc8.patch git-scsi-misc.patch remove-unnecessary-check-in-drivers-scsi-sgc.patch overrun-in-drivers-scsi-scsic.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