]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
rtc: rtc-rx8025: remove unnecessary OOM messages
authorJingoo Han <jg1.han@samsung.com>
Thu, 3 Apr 2014 21:49:44 +0000 (14:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 3 Apr 2014 23:21:18 +0000 (16:21 -0700)
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>
drivers/rtc/rtc-rx8025.c

index 8fa23eabcb68109d6636b44405cfaf9965aa6be6..e6298e02b400e7717c5fb549bc13a75203f59ea5 100644 (file)
@@ -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;
        }