platform/x86: wmi: Remove unnecessary out-of-memory message
authorArmin Wolf <W_Armin@gmx.de>
Tue, 6 Feb 2024 22:04:46 +0000 (23:04 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 7 Feb 2024 13:51:11 +0000 (15:51 +0200)
commit49c67cd5b6a4b611ac775de3831f5e739dd580f2
treed77583631fb1db0b3f3325deb01f87da5c25baeb
parentd0c595a11785573aad3b9e32ae293c48757eceff
platform/x86: wmi: Remove unnecessary out-of-memory message

If kzalloc() fails, an out-of-memory message is already
printed. Remove the unnecessary second warning message.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20240206220447.3102-3-W_Armin@gmx.de
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/wmi.c