Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Feb 2009 16:57:07 +0000 (UTC)
From:      Max Khon <fjoe@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r188393 - head/sys/dev/firewire
Message-ID:  <200902091657.n19Gv7sY065623@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fjoe
Date: Mon Feb  9 16:57:07 2009
New Revision: 188393
URL: http://svn.freebsd.org/changeset/base/188393

Log:
  Remove unused variable.
  
  Found with:	Coverity Prevent(tm)
  CID:		3693

Modified:
  head/sys/dev/firewire/sbp.c

Modified: head/sys/dev/firewire/sbp.c
==============================================================================
--- head/sys/dev/firewire/sbp.c	Mon Feb  9 16:53:37 2009	(r188392)
+++ head/sys/dev/firewire/sbp.c	Mon Feb  9 16:57:07 2009	(r188393)
@@ -330,12 +330,11 @@ static char *orb_status1_serial_bus_erro
 static void
 sbp_identify(driver_t *driver, device_t parent)
 {
-	device_t child;
 SBP_DEBUG(0)
 	printf("sbp_identify\n");
 END_DEBUG
 
-	child = BUS_ADD_CHILD(parent, 0, "sbp", device_get_unit(parent));
+	BUS_ADD_CHILD(parent, 0, "sbp", device_get_unit(parent));
 }
 
 /*



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