]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Input: qnap-mcu-input - omit error message when memory allocation fails
authorXichao Zhao <zhao.xichao@vivo.com>
Fri, 22 Aug 2025 03:47:48 +0000 (11:47 +0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 18 Oct 2025 04:42:03 +0000 (21:42 -0700)
commitd6137f25b1915af35bfc321ada948bd71b2ee1c5
tree02c9115dd638e1dbac82ae77cd3bec789cf5b310
parentfd1bf704c75bd1ff160a300a0b72d41a89ea458a
Input: qnap-mcu-input - omit error message when memory allocation fails

The dev_err_probe() doesn't do anything when error is '-ENOMEM'.
Therefore, remove the useless call to dev_err_probe(), and just
return the value instead.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Link: https://patch.msgid.link/20250822034751.244248-2-zhao.xichao@vivo.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/qnap-mcu-input.c