diff options
-rw-r--r-- | libdiskfs/ports-clean.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libdiskfs/ports-clean.c b/libdiskfs/ports-clean.c index 90dbb5de..2b54ebe3 100644 --- a/libdiskfs/ports-clean.c +++ b/libdiskfs/ports-clean.c @@ -18,17 +18,11 @@ #include "priv.h" #include <hurd/pager.h> -static void -protid_clean (void *arg) -{ - diskfs_release_peropen (((struct protid *)arg)->po); -} - /* Indexed by port type (PT_*); called when the last reference goes away on a port. */ void (*ports_cleanroutines[])(void *)= { - [PT_PROTID] = protid_clean, + [PT_PROTID] = diskfs_protid_rele, [PT_PAGER] = pager_clean, [PT_TRANSBOOT] = fshelp_transboot_clean, }; |