summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2008-12-14 21:45:14 +0100
committerStefan Richter <stefanr@s5r6.in-berlin.de>2009-03-24 20:56:39 +0100
commitc490a6dec6cc1b7f0eab56b9fbd565129b3dea2e (patch)
tree1b177202b9c8d04f52e8a06572c67b139613c879 /drivers
parent44be21b63e0c551df21253540b7f216f0d18928e (diff)
downloadblackbird-op-linux-c490a6dec6cc1b7f0eab56b9fbd565129b3dea2e.tar.gz
blackbird-op-linux-c490a6dec6cc1b7f0eab56b9fbd565129b3dea2e.zip
firewire: core: remove obsolete assertions
This code never changes. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/firewire/fw-transaction.c17
1 files changed, 4 insertions, 13 deletions
diff --git a/drivers/firewire/fw-transaction.c b/drivers/firewire/fw-transaction.c
index 024d1f5537c5..058f5ed24390 100644
--- a/drivers/firewire/fw-transaction.c
+++ b/drivers/firewire/fw-transaction.c
@@ -955,19 +955,10 @@ static int __init fw_core_init(void)
return fw_cdev_major;
}
- retval = fw_core_add_address_handler(&topology_map,
- &topology_map_region);
- BUG_ON(retval < 0);
-
- retval = fw_core_add_address_handler(&registers,
- &registers_region);
- BUG_ON(retval < 0);
-
- /* Add the vendor textual descriptor. */
- retval = fw_core_add_descriptor(&vendor_id_descriptor);
- BUG_ON(retval < 0);
- retval = fw_core_add_descriptor(&model_id_descriptor);
- BUG_ON(retval < 0);
+ fw_core_add_address_handler(&topology_map, &topology_map_region);
+ fw_core_add_address_handler(&registers, &registers_region);
+ fw_core_add_descriptor(&vendor_id_descriptor);
+ fw_core_add_descriptor(&model_id_descriptor);
return 0;
}
OpenPOWER on IntegriCloud