Skip to content

Commit

Permalink
ieee1394: nodemgr: take it easy if bus_rescan_devices fails
Browse files Browse the repository at this point in the history
This happens.  No need to log a BUG trace.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
  • Loading branch information
Stefan Richter committed Dec 7, 2006
1 parent bfe89d7 commit 1f72cf5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/ieee1394/nodemgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -1600,9 +1600,8 @@ static void nodemgr_node_probe(struct host_info *hi, int generation)
* just removed. */

if (generation == get_hpsb_generation(host))
WARN_ON(bus_rescan_devices(&ieee1394_bus_type));

return;
if (bus_rescan_devices(&ieee1394_bus_type))
HPSB_DEBUG("bus_rescan_devices had an error");
}

static int nodemgr_send_resume_packet(struct hpsb_host *host)
Expand Down

0 comments on commit 1f72cf5

Please sign in to comment.