diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-04-29 04:20:02 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-29 15:01:41 -0400 |
commit | 0375cff5d8c9da86787167da2740b6e5c50963da (patch) | |
tree | c51e03e5f27b0a7eaf5a0a18a3d3d7ef86299cef | |
parent | 9deae4592b66c0b2a7832fefa192e7a506ce047e (diff) |
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: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | drivers/spi/spi-s3c24xx.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/spi/spi-s3c24xx.c b/drivers/spi/spi-s3c24xx.c index 6db14e53af17..381d4af149fc 100644 --- a/drivers/spi/spi-s3c24xx.c +++ b/drivers/spi/spi-s3c24xx.c | |||
@@ -186,10 +186,8 @@ static int s3c24xx_spi_setup(struct spi_device *spi) | |||
186 | cs = devm_kzalloc(&spi->dev, | 186 | cs = devm_kzalloc(&spi->dev, |
187 | sizeof(struct s3c24xx_spi_devstate), | 187 | sizeof(struct s3c24xx_spi_devstate), |
188 | GFP_KERNEL); | 188 | GFP_KERNEL); |
189 | if (!cs) { | 189 | if (!cs) |
190 | dev_err(&spi->dev, "no memory for controller state\n"); | ||
191 | return -ENOMEM; | 190 | return -ENOMEM; |
192 | } | ||
193 | 191 | ||
194 | cs->spcon = SPCON_DEFAULT; | 192 | cs->spcon = SPCON_DEFAULT; |
195 | cs->hz = -1; | 193 | cs->hz = -1; |