svn commit: r188393 - head/sys/dev/firewire

Max Khon fjoe at FreeBSD.org
Mon Feb 9 08:57:09 PST 2009


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));
 }
 
 /*


More information about the svn-src-head mailing list