- pm-remove-unbalanced-mutex_unlock-from-dpm_resume.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     PM: remove unbalanced mutex_unlock() from dpm_resume()
has been removed from the -mm tree.  Its filename was
     pm-remove-unbalanced-mutex_unlock-from-dpm_resume.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: PM: remove unbalanced mutex_unlock() from dpm_resume()


Remove an unnecessary unlocking of dpm_list_mtx in the error path in
drivers/base/power/main.c:dpm_suspend() .

Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/base/power/main.c |    1 -
 1 file changed, 1 deletion(-)

diff -puN drivers/base/power/main.c~pm-remove-unbalanced-mutex_unlock-from-dpm_resume drivers/base/power/main.c
--- a/drivers/base/power/main.c~pm-remove-unbalanced-mutex_unlock-from-dpm_resume
+++ a/drivers/base/power/main.c
@@ -479,7 +479,6 @@ static int dpm_suspend(pm_message_t stat
 			mutex_lock(&dpm_list_mtx);
 			if (list_empty(&dev->power.entry))
 				list_add(&dev->power.entry, &dpm_locked);
-			mutex_unlock(&dpm_list_mtx);
 			break;
 		}
 		mutex_lock(&dpm_list_mtx);
_

Patches currently in -mm which might be from rjw@xxxxxxx are

origin.patch
git-acpi.patch
git-xfs.patch
shrink_slab-handle-bad-shrinkers.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux