Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2017 04:44:35 +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-11@freebsd.org
Subject:   svn commit: r316320 - stable/11/sys/boot/zfs
Message-ID:  <201703310444.v2V4iZAM056681@repo.freebsd.org>

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



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