i2c: Delete error messages for failed memory allocations

[ Upstream commit 6b3b21a854 ]

These issues were detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Stable-dep-of: 05f933d5f7 ("i2c: nomadik: Remove a useless call in the remove function")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Markus Elfring 2018-02-02 17:24:57 +01:00 • committed by Greg Kroah-Hartman
commit 576c5fa88d
4 changed files with 2 additions and 8 deletions