Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Aug 2012 11:59:47 +0000 (UTC)
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r239057 - head/sys/boot/userboot/userboot
Message-ID:  <201208051159.q75Bxlcu080439@svn.freebsd.org>

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



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