Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2017 04:44:37 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r316321 - stable/10/sys/boot/zfs
Message-ID:  <201703310444.v2V4ibiS056727@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703310444.v2V4ibiS056727>