diff --git a/[refs] b/[refs] index 0572f2ad6639..5077709d58b5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0a5245099819b0ae0a8e985f54909ba8414faba5 +refs/heads/master: 199e9e7d1106686a85ee9fdf6a824051aa82682e diff --git a/trunk/drivers/acpi/ec.c b/trunk/drivers/acpi/ec.c index b28b56524f0b..2300d81bbc4e 100644 --- a/trunk/drivers/acpi/ec.c +++ b/trunk/drivers/acpi/ec.c @@ -710,9 +710,7 @@ static int acpi_ec_add(struct acpi_device *device) /* Check if we found the boot EC */ if (boot_ec) { if (boot_ec->gpe == ec->gpe) { - mutex_lock(&boot_ec->lock); ec_remove_handlers(boot_ec); - mutex_unlock(&boot_ec->lock); mutex_destroy(&boot_ec->lock); kfree(boot_ec); first_ec = boot_ec = NULL;