drivers/block/loop.c: remove unnecessary bdev argument from loop_clr_fd()
authorAyan George <ayan@ayan.net>
Wed, 21 Sep 2011 08:02:13 +0000 (10:02 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 21 Sep 2011 08:02:13 +0000 (10:02 +0200)
commit4c823cc3d568277aa6340d8df6981e34f4c4dee5
tree69d160a2baf1c6d346b1e4978cb294a2af9ad66f
parent8a9c594422ecad912d6470888acdee9a1236ad68
drivers/block/loop.c: remove unnecessary bdev argument from loop_clr_fd()

If the loop device is associated (lo->lo_state == Lo_bound), it will have
a valid bdev pointed to by lo->lo_device.  There is no reason to ever pass
an additional block_device pointer.

Signed-off-by: Ayan George <ayan.george@canonical.com>
Cc: Phillip Susi <psusi@cfl.rr.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@google.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/loop.c