From e468767c4b9852247cc3c24fbe9be4f3a9545b47 Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Tue, 28 Mar 2017 20:52:59 +0000 Subject: [PATCH] Remove redundant declaration for `zfs_crc64_table` zfssubr.c already defines this statically. Besides, zfsimpl.c defined it, but didn't use it. This fixes a -Wredundant-decls warning. MFC after: 3 days Reported by: amd64-gcc-6.3.0 (devel/amd64-xtoolchain-gcc) Sponsored by: Dell EMC Isilon --- sys/boot/zfs/zfsimpl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/boot/zfs/zfsimpl.c b/sys/boot/zfs/zfsimpl.c index 836b731a600..a436fef8b53 100644 --- a/sys/boot/zfs/zfsimpl.c +++ b/sys/boot/zfs/zfsimpl.c @@ -68,7 +68,6 @@ static const char *features_for_read[] = { */ static spa_list_t zfs_pools; -static uint64_t zfs_crc64_table[256]; static const dnode_phys_t *dnode_cache_obj = NULL; static uint64_t dnode_cache_bn; static char *dnode_cache_buf;