power: supply: core: Delete two error messages for a failed memory allocation in...
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 26 Aug 2017 17:22:32 +0000 (19:22 +0200)
committerSebastian Reichel <sebastian.reichel@collabora.co.uk>
Mon, 28 Aug 2017 16:50:39 +0000 (18:50 +0200)
commit1e743997fb9a56cbb34591f5fe88a74c14b8688d
tree644e6ea3e6b59fdf82006dea979e1f37e69f5010
parentc023b90699c820452093e7f24fb9058900971fda
power: supply: core: Delete two error messages for a failed memory allocation in power_supply_check_supplies()

Omit extra messages for a memory allocation failure in this function.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/power/supply/power_supply_core.c