projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9deae45
)
spi: s3c24xx: remove unnecessary OOM messages
author
Jingoo Han
<jg1.han@samsung.com>
Tue, 29 Apr 2014 08:20:02 +0000
(17:20 +0900)
committer
Mark Brown
<broonie@linaro.org>
Tue, 29 Apr 2014 19:01:41 +0000
(12:01 -0700)
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>
drivers/spi/spi-s3c24xx.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-s3c24xx.c
b/drivers/spi/spi-s3c24xx.c
index 6db14e53af1787cfd3b2745f616dcc6e5fbad8a3..381d4af149fc741c45785d375fa221f2ba0b9c5a 100644
(file)
--- 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)
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;