]> err.no Git - linux-2.6/commit
block: floppy: fix rmmod lockup
authorJiri Slaby <jirislaby@gmail.com>
Thu, 13 Mar 2008 19:32:43 +0000 (12:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 13 Mar 2008 20:11:43 +0000 (13:11 -0700)
commitf2005e1777614b65d1970924ca1b61e4caccb0d3
treed78705602ae404cd04a8eb8780e4ec52ec1600de
parentbd0e88e5174035d69204636289a21dc4c14238ec
block: floppy: fix rmmod lockup

Floppy rmmod locks up when no such hardware was initialized, since there is
nobody to wake the remove code up.  Remove the completion, because release is
called during platform_unregister anyway.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/block/floppy.c