projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b996356
)
spi/topcliff-pch: Delete an error message for a failed memory allocation in pch_spi_s...
author
Markus Elfring
<elfring@users.sourceforge.net>
Fri, 13 Jan 2017 16:00:08 +0000
(17:00 +0100)
committer
Mark Brown
<broonie@kernel.org>
Tue, 17 Jan 2017 18:38:02 +0000
(18:38 +0000)
Omit an extra message for a memory allocation failure in this function.
Link:
http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-topcliff-pch.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-topcliff-pch.c
b/drivers/spi/spi-topcliff-pch.c
index 2b940581907540d2b8aea6970f6d4628d9bac6e0..97d137591b18d5fe12359e5a8865fd00b93a9118 100644
(file)
--- a/
drivers/spi/spi-topcliff-pch.c
+++ b/
drivers/spi/spi-topcliff-pch.c
@@
-591,7
+591,6
@@
static void pch_spi_set_tx(struct pch_spi_data *data, int *bpw)
if (!data->pkt_rx_buff) {
/* flush queue and set status of all transfers to -ENOMEM */
- dev_err(&data->master->dev, "%s :kzalloc failed\n", __func__);
list_for_each_entry_safe(pmsg, tmp, data->queue.next, queue) {
pmsg->status = -ENOMEM;