Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0375cff5 authored by Jingoo Han's avatar Jingoo Han Committed by Mark Brown
Browse files

spi: s3c24xx: remove unnecessary OOM messages



The site-specific OOM messages are unnecessary, because they
duplicate the MM subsystem generic OOM message.

Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 9deae459
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -186,10 +186,8 @@ static int s3c24xx_spi_setup(struct spi_device *spi)
		cs = devm_kzalloc(&spi->dev,
				  sizeof(struct s3c24xx_spi_devstate),
				  GFP_KERNEL);
		if (!cs) {
			dev_err(&spi->dev, "no memory for controller state\n");
		if (!cs)
			return -ENOMEM;
		}

		cs->spcon = SPCON_DEFAULT;
		cs->hz = -1;