summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2009-02-09 16:57:07 +0000
committerfjoe <fjoe@FreeBSD.org>2009-02-09 16:57:07 +0000
commitaec292fbe04fe111acc24e0ea2d6926508a794d7 (patch)
treebecffd23c148b0908032d99cb4b8b2e14ee97cf0
parentd4e7486f743abc4647e0fae2df002490ed4e1597 (diff)
downloadFreeBSD-src-aec292fbe04fe111acc24e0ea2d6926508a794d7.zip
FreeBSD-src-aec292fbe04fe111acc24e0ea2d6926508a794d7.tar.gz
Remove unused variable.
Found with: Coverity Prevent(tm) CID: 3693
-rw-r--r--sys/dev/firewire/sbp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c
index e13ec85..dc69f68 100644
--- a/sys/dev/firewire/sbp.c
+++ b/sys/dev/firewire/sbp.c
@@ -330,12 +330,11 @@ static char *orb_status1_serial_bus_error[] = {
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));
}
/*
OpenPOWER on IntegriCloud