* + drivers-core-remove-assert_held_device_hotplug.patch added to -mm tree
@ 2017-03-14 21:49 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2017-03-14 21:49 UTC (permalink / raw)
To: heiko.carstens, ben, dan.j.williams, gerald.schaefer, gregkh,
mhocko, rjw, schwidefsky, sebott, vdavydov.dev, mm-commits
The patch titled
Subject: drivers core: remove assert_held_device_hotplug()
has been added to the -mm tree. Its filename is
drivers-core-remove-assert_held_device_hotplug.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/drivers-core-remove-assert_held_device_hotplug.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/drivers-core-remove-assert_held_device_hotplug.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a
reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated
there every 3-4 working days
------------------------------------------------------
From: Heiko Carstens <heiko.carstens@de.ibm.com>
Subject: drivers core: remove assert_held_device_hotplug()
The last caller of assert_held_device_hotplug() is gone, so remove it again.
Link: http://lkml.kernel.org/r/20170314125226.16779-3-heiko.carstens@de.ibm.com
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Dan Williams <dan.j.williams@intel.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Cc: Ben Hutchings <ben@decadent.org.uk>
Cc: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Sebastian Ott <sebott@linux.vnet.ibm.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/base/core.c | 5 -----
include/linux/device.h | 1 -
2 files changed, 6 deletions(-)
diff -puN drivers/base/core.c~drivers-core-remove-assert_held_device_hotplug drivers/base/core.c
--- a/drivers/base/core.c~drivers-core-remove-assert_held_device_hotplug
+++ a/drivers/base/core.c
@@ -639,11 +639,6 @@ int lock_device_hotplug_sysfs(void)
return restart_syscall();
}
-void assert_held_device_hotplug(void)
-{
- lockdep_assert_held(&device_hotplug_lock);
-}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-03-14 21:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-14 21:49 + drivers-core-remove-assert_held_device_hotplug.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).