mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 05:48:40 +00:00
rtc: rtc-sirfsoc: 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> Acked-by: Barry Song <Baohua.Song@csr.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
147a985536
commit
98e2d21faa
1 changed files with 1 additions and 5 deletions
|
@ -264,12 +264,8 @@ static int sirfsoc_rtc_probe(struct platform_device *pdev)
|
|||
|
||||
rtcdrv = devm_kzalloc(&pdev->dev,
|
||||
sizeof(struct sirfsoc_rtc_drv), GFP_KERNEL);
|
||||
if (rtcdrv == NULL) {
|
||||
dev_err(&pdev->dev,
|
||||
"%s: can't alloc mem for drv struct\n",
|
||||
pdev->name);
|
||||
if (rtcdrv == NULL)
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
err = of_property_read_u32(np, "reg", &rtcdrv->rtc_base);
|
||||
if (err) {
|
||||
|
|
Loading…
Reference in a new issue