svn commit: r316321 - stable/10/sys/boot/zfs

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


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

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/10/sys/boot/zfs/zfsimpl.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/boot/zfs/zfsimpl.c
==============================================================================
--- stable/10/sys/boot/zfs/zfsimpl.c	Fri Mar 31 04:44:35 2017	(r316320)
+++ stable/10/sys/boot/zfs/zfsimpl.c	Fri Mar 31 04:44:37 2017	(r316321)
@@ -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 = 0;
 static uint64_t dnode_cache_bn;
 static char *dnode_cache_buf;


More information about the svn-src-stable-10 mailing list