svn commit: r316320 - stable/11/sys/boot/zfs

Ngie Cooper ngie at FreeBSD.org
Fri Mar 31 04:44:37 UTC 2017


Author: ngie
Date: Fri Mar 31 04:44:35 2017
New Revision: 316320
URL: https://svnweb.freebsd.org/changeset/base/316320

Log:
  MFC r316107:
  
  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.

Modified:
  stable/11/sys/boot/zfs/zfsimpl.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/boot/zfs/zfsimpl.c
==============================================================================
--- stable/11/sys/boot/zfs/zfsimpl.c	Fri Mar 31 04:43:25 2017	(r316319)
+++ stable/11/sys/boot/zfs/zfsimpl.c	Fri Mar 31 04:44:35 2017	(r316320)
@@ -66,7 +66,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;


More information about the svn-src-stable mailing list