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

spi: sh-msiof: 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: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Mark Brown <broonie@linaro.org>

authored by

Jingoo Han and committed by
Mark Brown
1e8231b7 1273eb05

+1 -3
+1 -3
drivers/spi/spi-sh-msiof.c
··· 642 642 u32 num_cs = 1; 643 643 644 644 info = devm_kzalloc(dev, sizeof(struct sh_msiof_spi_info), GFP_KERNEL); 645 - if (!info) { 646 - dev_err(dev, "failed to allocate setup data\n"); 645 + if (!info) 647 646 return NULL; 648 - } 649 647 650 648 /* Parse the MSIOF properties */ 651 649 of_property_read_u32(np, "num-cs", &num_cs);