platform:x86: Remove OOM message after input_allocate_device
Emitting an OOM message isn't necessary after input_allocate_device as there's a generic OOM and a dump_stack already done. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
This commit is contained in:

committed by
Matthew Garrett

parent
a825bc87b2
commit
b222cca600
@@ -9163,7 +9163,6 @@ static int __init thinkpad_acpi_module_init(void)
|
||||
mutex_init(&tpacpi_inputdev_send_mutex);
|
||||
tpacpi_inputdev = input_allocate_device();
|
||||
if (!tpacpi_inputdev) {
|
||||
pr_err("unable to allocate input device\n");
|
||||
thinkpad_acpi_module_exit();
|
||||
return -ENOMEM;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user