mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
LinuxKPI: Stub sysfs_remove_link in linux/sysfs.h
sysfs_create_link is stubbed already. Stub sysfs_remove_link too to be feature-complete. Sponsored by: Serenity Cyber Security, LLC Reviewed by: emaste MFC after: 1 week
This commit is contained in:
parent
56041ee817
commit
4e7aa03b70
|
@ -164,6 +164,12 @@ sysfs_create_link(struct kobject *kobj __unused,
|
|||
return (0);
|
||||
}
|
||||
|
||||
static inline void
|
||||
sysfs_remove_link(struct kobject *kobj, const char *name)
|
||||
{
|
||||
/* TODO (along with sysfs_create_link) */
|
||||
}
|
||||
|
||||
static inline int
|
||||
sysfs_create_files(struct kobject *kobj, const struct attribute * const *attrs)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue