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: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
        int i, ret;
 
        lcd = devm_kzalloc(&spi->dev, sizeof(*lcd), GFP_KERNEL);
-       if (!lcd) {
-               dev_err(&spi->dev, "Couldn't allocate lcd internal structure!\n");
+       if (!lcd)
                return -ENOMEM;
-       }
 
        ret = spi_setup(spi);
        if (ret < 0) {