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

spi: tle62x0: 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: Mark Brown <broonie@linaro.org>

authored by

Jingoo Han and committed by
Mark Brown
9f48e54b 1e8231b7

+1 -3
+1 -3
drivers/spi/spi-tle62x0.c
··· 253 253 } 254 254 255 255 st = kzalloc(sizeof(struct tle62x0_state), GFP_KERNEL); 256 - if (st == NULL) { 257 - dev_err(&spi->dev, "no memory for device state\n"); 256 + if (st == NULL) 258 257 return -ENOMEM; 259 - } 260 258 261 259 st->us = spi; 262 260 st->nr_gpio = pdata->gpio_count;