diff options
Diffstat (limited to 'sys/compat/linux/linux_ioctl.c')
-rw-r--r-- | sys/compat/linux/linux_ioctl.c | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 1cf76cf..3b14eb2 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -1516,37 +1516,3 @@ linux_ioctl_unregister_handler(struct linux_ioctl_handler *h) return (EINVAL); } - -int -linux_ioctl_register_handlers(struct linker_set *s) -{ - int error, i; - - if (s == NULL) - return (EINVAL); - - for (i = 0; i < s->ls_length; i++) { - error = linux_ioctl_register_handler(s->ls_items[i]); - if (error) - return (error); - } - - return (0); -} - -int -linux_ioctl_unregister_handlers(struct linker_set *s) -{ - int error, i; - - if (s == NULL) - return (EINVAL); - - for (i = 0; i < s->ls_length; i++) { - error = linux_ioctl_unregister_handler(s->ls_items[i]); - if (error) - return (error); - } - - return (0); -} |