aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/devfreq
diff options
context:
space:
mode:
authorQuentin Lambert <lambert.quentin@gmail.com>2015-02-09 10:45:32 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-02-12 02:00:52 +0100
commit59d84ca8c46a93ad62f9129458e897e7fe5075de (patch)
tree9476854453199ad93851f272ab2acf5bbee7b147 /drivers/devfreq
parentPM / OPP: Assert RCU lock in exported functions (diff)
downloadlinux-dev-59d84ca8c46a93ad62f9129458e897e7fe5075de.tar.xz
linux-dev-59d84ca8c46a93ad62f9129458e897e7fe5075de.zip
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 <lambert.quentin@gmail.com> Acked-by: Nishanth Menon <nm@ti.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/devfreq')
0 files changed, 0 insertions, 0 deletions