summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGarrit Franke <garritfranke@gmail.com>2020-07-16 22:31:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-23 10:33:12 +0200
commitbf9b82b7fe4d3c7d4d432ef80b4299c9b6b4a1f8 (patch)
treed8d44357139844f86d599eafeeb65acf85cdab4f /include
parent843e600b8a2b01463c4d873a90b2c2ea8033f1f6 (diff)
kobject: remove unused KOBJ_MAX action
The loop in libb/kobj_uevent.c that checked for KOBBJ_MAX is no longer present, we do a much more sane ARRAY_SIZE() check instead. See 5c5daf657cb5 ("Driver core: exclude kobject_uevent.c for !CONFIG_HOTPLUG"). Signed-off-by: Garrit Franke <garritfranke@gmail.com> Link: https://lore.kernel.org/r/20200716203100.7959-1-garritfranke@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/kobject.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/kobject.h b/include/linux/kobject.h
index 6cba088bee24..ea30529fba08 100644
--- a/include/linux/kobject.h
+++ b/include/linux/kobject.h
@@ -59,7 +59,6 @@ enum kobject_action {
KOBJ_OFFLINE,
KOBJ_BIND,
KOBJ_UNBIND,
- KOBJ_MAX
};
struct kobject {