module: zcommon: zprop: 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 16:02:06 +01:00 committed by Brian Behlendorf
parent 2447a1e59c
commit dac85132c6

View File

@ -83,6 +83,7 @@ zfs_mod_supported_prop(const char *name, zfs_type_t type,
* tree, but this has not been done yet.
*/
#if defined(_KERNEL) || defined(LIB_ZPOOL_BUILD) || defined(__FreeBSD__)
(void) name, (void) type, (void) sfeatures;
return (B_TRUE);
#else
return (zfs_mod_supported(type == ZFS_TYPE_POOL ?