Skip to content

Commit

Permalink
staging: vme: fix comment in __vme_register_driver()
Browse files Browse the repository at this point in the history
Signed-off-by: Manohar Vanga <manohar.vanga@cern.ch>
Acked-by: Martyn Welch <martyn.welch@ge.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Manohar Vanga authored and Greg Kroah-Hartman committed Nov 27, 2011
1 parent 3fe0a87 commit c26f611
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/staging/vme/vme.c
Original file line number Diff line number Diff line change
Expand Up @@ -1421,10 +1421,7 @@ static int __vme_register_driver(struct vme_driver *drv, unsigned int ndevs)
* and if the bridge is removed, it will have to go through
* vme_unregister_bridge() to do it (which calls remove() on
* the bridge which in turn tries to acquire vme_buses_lock and
* will have to wait). The probe() called after device
* registration in __vme_register_driver below will also fail
* as the bridge is being removed (since the probe() calls
* vme_bridge_get()).
* will have to wait).
*/
err = __vme_register_driver_bus(drv, bridge, ndevs);
if (err)
Expand Down

0 comments on commit c26f611

Please sign in to comment.