From owner-svn-src-all@freebsd.org Fri Apr 14 18:23:19 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 63CE3D3EFDD; Fri, 14 Apr 2017 18:23:19 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2C63D96A; Fri, 14 Apr 2017 18:23:19 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3EINI81070488; Fri, 14 Apr 2017 18:23:18 GMT (envelope-from avg@FreeBSD.org) Received: (from avg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3EINIcB070487; Fri, 14 Apr 2017 18:23:18 GMT (envelope-from avg@FreeBSD.org) Message-Id: <201704141823.v3EINIcB070487@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: avg set sender to avg@FreeBSD.org using -f From: Andriy Gapon Date: Fri, 14 Apr 2017 18:23:18 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org Subject: svn commit: r316911 - vendor-sys/illumos/dist/uts/common/fs/zfs X-SVN-Group: vendor-sys MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Apr 2017 18:23:19 -0000 Author: avg Date: Fri Apr 14 18:23:18 2017 New Revision: 316911 URL: https://svnweb.freebsd.org/changeset/base/316911 Log: 7816 remove static unused variable in zfs_vfsops.c illumos/illumos-gate@2e972bf18f2d3dc8a060f336db39dc8432ee887c https://github.com/illumos/illumos-gate/commit/2e972bf18f2d3dc8a060f336db39dc8432ee887c https://www.illumos.org/issues/7816 found by gcc6 build unused static variable: -static const fs_operation_def_t zfs_vfsops_eio_template[] = { - VFSNAME_FREEVFS, { .vfs_freevfs = zfs_freevfs }, - NULL, NULL -}; Reviewed by: Matt Ahrens Reviewed by: Andy Stormont astormont@racktopsystems.com Reviewed by: Pavel Zakharov Approved by: Dan McDonald Author: Igor Kozhukhov Modified: vendor-sys/illumos/dist/uts/common/fs/zfs/zfs_vfsops.c Modified: vendor-sys/illumos/dist/uts/common/fs/zfs/zfs_vfsops.c ============================================================================== --- vendor-sys/illumos/dist/uts/common/fs/zfs/zfs_vfsops.c Fri Apr 14 18:22:42 2017 (r316910) +++ vendor-sys/illumos/dist/uts/common/fs/zfs/zfs_vfsops.c Fri Apr 14 18:23:18 2017 (r316911) @@ -96,11 +96,6 @@ static const fs_operation_def_t zfs_vfso NULL, NULL }; -static const fs_operation_def_t zfs_vfsops_eio_template[] = { - VFSNAME_FREEVFS, { .vfs_freevfs = zfs_freevfs }, - NULL, NULL -}; - /* * We need to keep a count of active fs's. * This is necessary to prevent our module