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
5c5daf657c
("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>
This commit is contained in:
Родитель
843e600b8a
Коммит
bf9b82b7fe
|
@ -59,7 +59,6 @@ enum kobject_action {
|
|||
KOBJ_OFFLINE,
|
||||
KOBJ_BIND,
|
||||
KOBJ_UNBIND,
|
||||
KOBJ_MAX
|
||||
};
|
||||
|
||||
struct kobject {
|
||||
|
|
Загрузка…
Ссылка в новой задаче