Commit c490a6de authored by Stefan Richter's avatar Stefan Richter

firewire: core: remove obsolete assertions

This code never changes.
Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
parent 44be21b6
...@@ -955,19 +955,10 @@ static int __init fw_core_init(void) ...@@ -955,19 +955,10 @@ static int __init fw_core_init(void)
return fw_cdev_major; return fw_cdev_major;
} }
retval = fw_core_add_address_handler(&topology_map, fw_core_add_address_handler(&topology_map, &topology_map_region);
&topology_map_region); fw_core_add_address_handler(&registers, &registers_region);
BUG_ON(retval < 0); fw_core_add_descriptor(&vendor_id_descriptor);
fw_core_add_descriptor(&model_id_descriptor);
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);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment