]> git.karo-electronics.de Git - linux-beck.git/commit
pinctrl: samsung: remove "out of memory" messages
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 22 Jun 2015 15:13:15 +0000 (18:13 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 16 Jul 2015 08:21:36 +0000 (10:21 +0200)
commit583facb6ae27dfb4d0fb5a952dade5aa990a05c9
treefd55e2228366d91b10565ea509e92ad9e3a891ea
parent8749f8ed5cc07f4f130f2e5b2c41da78388146ec
pinctrl: samsung: remove "out of memory" messages

Checkpatch.pl complains about these:

WARNING: Possible unnecessary 'out of memory' message

The messages use a little extra RAM and they add a few extra lines of
code.  We're probably never going to hit these out of memory situations
but if we did then kmalloc() has pretty good error messages built-in.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/samsung/pinctrl-exynos5440.c