svn commit: r237728 - stable/8/sys/boot/i386/boot2
John Baldwin
jhb at FreeBSD.org
Thu Jun 28 19:55:47 UTC 2012
Author: jhb
Date: Thu Jun 28 19:55:46 2012
New Revision: 237728
URL: http://svn.freebsd.org/changeset/base/237728
Log:
MFC 236405:
Remove unnecessary initializations. The BSS of boot2 is in fact
zero'd when boot2 begins execution by the _start() routine in btxcsu.S.
Modified:
stable/8/sys/boot/i386/boot2/boot2.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/boot/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/e1000/ (props changed)
Modified: stable/8/sys/boot/i386/boot2/boot2.c
==============================================================================
--- stable/8/sys/boot/i386/boot2/boot2.c Thu Jun 28 19:55:26 2012 (r237727)
+++ stable/8/sys/boot/i386/boot2/boot2.c Thu Jun 28 19:55:46 2012 (r237728)
@@ -129,8 +129,8 @@ static struct dsk {
int init;
} dsk;
static char cmd[512], cmddup[512], knamebuf[1024];
-static const char *kname = NULL;
-static uint32_t opts = 0;
+static const char *kname;
+static uint32_t opts;
static int comspeed = SIOSPD;
static struct bootinfo bootinfo;
static uint8_t ioctrl = IO_KEYBOARD;
More information about the svn-src-all
mailing list