From 375bdb2b20ec293658e9e9cee6c70d9cfc1d3fbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Sat, 10 Apr 2021 03:27:26 +0200 Subject: [PATCH] module/zfs/zvol.c: purge unused zvol_volmode_cb_arg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Brian Behlendorf Signed-off-by: Ahelenia ZiemiaƄska Closes #11879 --- module/zfs/zvol.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/module/zfs/zvol.c b/module/zfs/zvol.c index b6609363f0..23df0e1541 100644 --- a/module/zfs/zvol.c +++ b/module/zfs/zvol.c @@ -1383,10 +1383,6 @@ zvol_set_snapdev_impl(char *name, uint64_t snapdev) spl_fstrans_unmark(cookie); } -typedef struct zvol_volmode_cb_arg { - uint64_t volmode; -} zvol_volmode_cb_arg_t; - static void zvol_set_volmode_impl(char *name, uint64_t volmode) {