Skip to content

Commit bf9b82b

Browse files
garritfragregkh
authored andcommitted
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 5c5daf6 ("Driver core: exclude kobject_uevent.c for !CONFIG_HOTPLUG"). Signed-off-by: Garrit Franke <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 843e600 commit bf9b82b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/linux/kobject.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ enum kobject_action {
5959
KOBJ_OFFLINE,
6060
KOBJ_BIND,
6161
KOBJ_UNBIND,
62-
KOBJ_MAX
6362
};
6463

6564
struct kobject {

0 commit comments

Comments
 (0)