From: Quentin Lambert Date: Mon, 9 Feb 2015 09:45:32 +0000 (+0100) Subject: PM / OPP / clk: Remove unnecessary OOM message X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~92^2^5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59d84ca8c46a93ad62f9129458e897e7fe5075de;p=pandora-kernel.git PM / OPP / clk: Remove unnecessary OOM message This patch reduces the kernel size by removing error messages that duplicate the normal OOM message. A simplified version of the semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr) @@ identifier f,print,l; expression e; constant char[] c; @@ e = \(kzalloc\|kmalloc\|devm_kzalloc\|devm_kmalloc\)(...); if (e == NULL) { <+... - print(...,c,...); ... when any ( goto l; | return ...; ) ...+> } Signed-off-by: Quentin Lambert Acked-by: Nishanth Menon Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed