libshare: nfs: fix unused, remove argsused

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #12844
This commit is contained in:
наб 2021-12-12 15:26:39 +01:00 committed by Brian Behlendorf
parent bfc1789703
commit 57bff80ebf
3 changed files with 4 additions and 0 deletions

View File

@ -249,6 +249,8 @@ nfs_toggle_share(const char *lockfile, const char *exports,
static boolean_t
nfs_is_shared_cb(void *userdata, char *line, boolean_t found_mountpoint)
{
(void) line;
boolean_t *found = userdata;
*found = found_mountpoint;
return (!found_mountpoint);

View File

@ -134,6 +134,7 @@ nfs_enable_share(sa_share_impl_t impl_share)
static int
nfs_disable_share_impl(sa_share_impl_t impl_share, FILE *tmpfile)
{
(void) impl_share, (void) tmpfile;
return (SA_OK);
}

View File

@ -440,6 +440,7 @@ nfs_enable_share(sa_share_impl_t impl_share)
static int
nfs_disable_share_impl(sa_share_impl_t impl_share, FILE *tmpfile)
{
(void) impl_share, (void) tmpfile;
return (SA_OK);
}