Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtc: rtc-moxart: remove unnecessary OOM messages

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

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Jingoo Han and committed by
Linus Torvalds
4410af6e 7841fe53

+1 -3
+1 -3
drivers/rtc/rtc-moxart.c
··· 247 247 int ret = 0; 248 248 249 249 moxart_rtc = devm_kzalloc(&pdev->dev, sizeof(*moxart_rtc), GFP_KERNEL); 250 - if (!moxart_rtc) { 251 - dev_err(&pdev->dev, "devm_kzalloc failed\n"); 250 + if (!moxart_rtc) 252 251 return -ENOMEM; 253 - } 254 252 255 253 moxart_rtc->gpio_data = of_get_named_gpio(pdev->dev.of_node, 256 254 "gpio-rtc-data", 0);