From owner-svn-src-head@freebsd.org Thu Feb 15 18:31:44 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93D01F0F3C5; Thu, 15 Feb 2018 18:31:44 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49DD8682E1; Thu, 15 Feb 2018 18:31:44 +0000 (UTC) (envelope-from brooks@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 44CE7225F0; Thu, 15 Feb 2018 18:31:44 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1FIViL1097560; Thu, 15 Feb 2018 18:31:44 GMT (envelope-from brooks@FreeBSD.org) Received: (from brooks@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1FIViw4097559; Thu, 15 Feb 2018 18:31:44 GMT (envelope-from brooks@FreeBSD.org) Message-Id: <201802151831.w1FIViw4097559@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: brooks set sender to brooks@FreeBSD.org using -f From: Brooks Davis Date: Thu, 15 Feb 2018 18:31:44 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r329332 - head/sys/compat/freebsd32 X-SVN-Group: head X-SVN-Commit-Author: brooks X-SVN-Commit-Paths: head/sys/compat/freebsd32 X-SVN-Commit-Revision: 329332 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Feb 2018 18:31:44 -0000 Author: brooks Date: Thu Feb 15 18:31:43 2018 New Revision: 329332 URL: https://svnweb.freebsd.org/changeset/base/329332 Log: Remove freebsd32_getdirentries(), it will be unused after the next commit. Modified: head/sys/compat/freebsd32/freebsd32_misc.c Modified: head/sys/compat/freebsd32/freebsd32_misc.c ============================================================================== --- head/sys/compat/freebsd32/freebsd32_misc.c Thu Feb 15 18:26:45 2018 (r329331) +++ head/sys/compat/freebsd32/freebsd32_misc.c Thu Feb 15 18:31:43 2018 (r329332) @@ -1786,25 +1786,6 @@ freebsd11_freebsd32_getdents(struct thread *td, } #endif /* COMPAT_FREEBSD11 */ -int -freebsd32_getdirentries(struct thread *td, - struct freebsd32_getdirentries_args *uap) -{ - long base; - int32_t base32; - int error; - - error = kern_getdirentries(td, uap->fd, uap->buf, uap->count, &base, - NULL, UIO_USERSPACE); - if (error) - return (error); - if (uap->basep != NULL) { - base32 = base; - error = copyout(&base32, uap->basep, sizeof(int32_t)); - } - return (error); -} - #ifdef COMPAT_FREEBSD6 /* versions with the 'int pad' argument */ int