Skip to content

Commit

Permalink
firewire: core: remove obsolete assertions
Browse files Browse the repository at this point in the history
This code never changes.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
  • Loading branch information
Stefan Richter committed Mar 24, 2009
1 parent 44be21b commit c490a6d
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions drivers/firewire/fw-transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c490a6d

Please sign in to comment.