svn commit: r316107 - head/sys/boot/zfs

Ngie Cooper ngie at FreeBSD.org
Tue Mar 28 20:53:01 UTC 2017


Author: ngie
Date: Tue Mar 28 20:52:59 2017
New Revision: 316107
URL: https://svnweb.freebsd.org/changeset/base/316107

Log:
  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

Modified:
  head/sys/boot/zfs/zfsimpl.c

Modified: head/sys/boot/zfs/zfsimpl.c
==============================================================================
--- head/sys/boot/zfs/zfsimpl.c	Tue Mar 28 20:39:24 2017	(r316106)
+++ head/sys/boot/zfs/zfsimpl.c	Tue Mar 28 20:52:59 2017	(r316107)
@@ -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;


More information about the svn-src-head mailing list