diff options
author | Ayan George <ayan@ayan.net> | 2011-09-21 10:02:13 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2011-09-21 10:02:13 +0200 |
commit | 4c823cc3d568277aa6340d8df6981e34f4c4dee5 (patch) | |
tree | 69d160a2baf1c6d346b1e4978cb294a2af9ad66f /init | |
parent | 8a9c594422ecad912d6470888acdee9a1236ad68 (diff) |
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>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions