summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-rx8025.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-04-04 01:49:44 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-04-04 03:21:18 +0400
commit147a9855364dcd5271338c4fe0707b2d670d103d (patch)
tree8ad6cb062506260b6fe121ce6280eccd801e0172 /drivers/rtc/rtc-rx8025.c
parent49ae425b8273d0856ffef41df51a1d1bdd06d0d0 (diff)
downloadlinux-147a9855364dcd5271338c4fe0707b2d670d103d.tar.xz
rtc: rtc-rx8025: 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>
Diffstat (limited to 'drivers/rtc/rtc-rx8025.c')
-rw-r--r--drivers/rtc/rtc-rx8025.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-rx8025.c b/drivers/rtc/rtc-rx8025.c
index 8fa23eabcb68..e6298e02b400 100644
--- a/drivers/rtc/rtc-rx8025.c
+++ b/drivers/rtc/rtc-rx8025.c
@@ -551,7 +551,6 @@ static int rx8025_probe(struct i2c_client *client,
rx8025 = devm_kzalloc(&client->dev, sizeof(*rx8025), GFP_KERNEL);
if (!rx8025) {
- dev_err(&adapter->dev, "failed to alloc memory\n");
err = -ENOMEM;
goto errout;
}