diff options
author | Sachin Kamat <sachin.kamat@samsung.com> | 2014-06-13 08:47:42 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-21 14:14:44 +0400 |
commit | 8331acb3a5515c01a1b73424a56f44c50ad7f1b4 (patch) | |
tree | 6be29b9c1d7c397cae2de2213f882b0ad7051238 /drivers/spi/spi.c | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f (diff) | |
download | linux-8331acb3a5515c01a1b73424a56f44c50ad7f1b4.tar.xz |
spi: Remove redundant OOM message in spi.c
Let memory subsystem handle the error logging.
Signed-off-by: Sachin Kamat <sachin.kamat@samsung.com>
Reviewed-by: Naveen Krishna Chatradhi <ch.naveen@samsung.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/spi/spi.c')
-rw-r--r-- | drivers/spi/spi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index d4f9670b51bc..8bbbba5b6236 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c @@ -352,7 +352,6 @@ struct spi_device *spi_alloc_device(struct spi_master *master) spi = kzalloc(sizeof(*spi), GFP_KERNEL); if (!spi) { - dev_err(dev, "cannot alloc spi_device\n"); spi_master_put(master); return NULL; } |