Fix device destruction.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
cl349@firebug.cl.cam.ac.uk committed 2005-08-25 15:45:19 +00:00
1 parent 7910cdc377
commit 73429619b1
1 file changed
+2 -4
@@ -48,10 +48,8 @@ static int netback_remove(struct xenbus_device *dev)
if (be->watch.node)
unregister_xenbus_watch(&be->watch);
unregister_xenbus_watch(&be->backend_watch);
#if 0
if (be->blkif)
blkif_put(be->blkif);
#endif
if (be->netif)
netif_disconnect(be->netif);
if (be->frontpath)
kfree(be->frontpath);
kfree(be);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.