Skip to contentSkip to conversation

rtc-rtc-lpc32xx-remove-unnecessary-oom-messages.patch removed from -mm tree

merged [email protected] 1 participant 1 message Apr 4, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Subject: [merged] rtc-rtc-lpc32xx-remove-unnecessary-oom-messages.patch removed from -mm tree
To: [email protected],[email protected]
From: [email protected]
Date: Fri, 04 Apr 2014 12:35:00 -0700

The patch titled
Subject: rtc: rtc-lpc32xx: remove unnecessary OOM messages
has been removed from the -mm tree. Its filename was
rtc-rtc-lpc32xx-remove-unnecessary-oom-messages.patch

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

------------------------------------------------------
From: Jingoo Han <[email protected]>
Subject: rtc: rtc-lpc32xx: remove unnecessary OOM messages

The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message.

---

 drivers/rtc/rtc-lpc32xx.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/rtc/rtc-lpc32xx.c renamed from drivers/rtc/rtc-lpc32xx.c~rtc-rtc-lpc32xx-remove-unnecessary-oom-messages +2 -3
diff -puN drivers/rtc/rtc-lpc32xx.c~rtc-rtc-lpc32xx-remove-unnecessary-oom-messages drivers/rtc/rtc-lpc32xx.c
@@ -211,10 +211,9 @@ static int lpc32xx_rtc_probe(struct plat
 	}
 
 	rtc = devm_kzalloc(&pdev->dev, sizeof(*rtc), GFP_KERNEL);
-	if (unlikely(!rtc)) {
-		dev_err(&pdev->dev, "Can't allocate memory\n");
+	if (unlikely(!rtc))
 		return -ENOMEM;
-	}
+
 	rtc->irq = rtcirq;
 
 	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);

_

Patches currently in -mm which might be from [email protected] are

origin.patch maintainers-update-ibm-serveraid-raid-info.patch drivers-video-backlight-backlightc-remove-backlight-sysfs-uevent.patch linux-next.patch