Quiet unused fn warning for linuxulator w/o legacy syscalls

Sponsored by:	Turing Robotic Industries
This commit is contained in:
Ed Maste 2018-06-25 19:24:50 +00:00
parent 3b31596dc8
commit 9c42fa94a6

View File

@ -86,6 +86,7 @@ LIN_SDT_PROBE_DEFINE2(sysctl, linux_sysctl, wrong_length, "int", "int");
LIN_SDT_PROBE_DEFINE1(sysctl, linux_sysctl, unsupported_sysctl, "char *");
LIN_SDT_PROBE_DEFINE1(sysctl, linux_sysctl, return, "int");
#ifdef LINUX_LEGACY_SYSCALLS
static int
handle_string(struct l___sysctl_args *la, char *value)
{
@ -115,7 +116,6 @@ handle_string(struct l___sysctl_args *la, char *value)
return (0);
}
#ifdef LINUX_LEGACY_SYSCALLS
int
linux_sysctl(struct thread *td, struct linux_sysctl_args *args)
{