From owner-svn-src-head@FreeBSD.ORG Sun Aug 5 11:59:47 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 58BBE106564A; Sun, 5 Aug 2012 11:59:47 +0000 (UTC) (envelope-from ae@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 43F1D8FC12; Sun, 5 Aug 2012 11:59:47 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q75BxlC0080442; Sun, 5 Aug 2012 11:59:47 GMT (envelope-from ae@svn.freebsd.org) Received: (from ae@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q75Bxlcu080439; Sun, 5 Aug 2012 11:59:47 GMT (envelope-from ae@svn.freebsd.org) Message-Id: <201208051159.q75Bxlcu080439@svn.freebsd.org> From: "Andrey V. Elsukov" Date: Sun, 5 Aug 2012 11:59:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r239057 - head/sys/boot/userboot/userboot X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 05 Aug 2012 11:59:47 -0000 Author: ae Date: Sun Aug 5 11:59:46 2012 New Revision: 239057 URL: http://svn.freebsd.org/changeset/base/239057 Log: Remove unused variables. Modified: head/sys/boot/userboot/userboot/bootinfo32.c head/sys/boot/userboot/userboot/copy.c Modified: head/sys/boot/userboot/userboot/bootinfo32.c ============================================================================== --- head/sys/boot/userboot/userboot/bootinfo32.c Sun Aug 5 11:53:16 2012 (r239056) +++ head/sys/boot/userboot/userboot/bootinfo32.c Sun Aug 5 11:59:46 2012 (r239057) @@ -143,7 +143,7 @@ bi_load32(char *args, int *howtop, int * vm_offset_t size; vm_offset_t ssym, esym; char *rootdevname; - int bootdevnr, i, howto; + int bootdevnr, howto; char *kernelname; const char *kernelpath; Modified: head/sys/boot/userboot/userboot/copy.c ============================================================================== --- head/sys/boot/userboot/userboot/copy.c Sun Aug 5 11:53:16 2012 (r239056) +++ head/sys/boot/userboot/userboot/copy.c Sun Aug 5 11:59:46 2012 (r239057) @@ -50,7 +50,6 @@ userboot_copyout(vm_offset_t va, void *d ssize_t userboot_readin(int fd, vm_offset_t va, size_t len) { - void *pa; ssize_t res, s; size_t sz; char buf[4096];