mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[PATCH] Kill various deprecated/unused block layer defines/functions
Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
parent
1ea25ecb72
commit
a3b05e8f58
4 changed files with 0 additions and 32 deletions
|
|
@ -1229,7 +1229,6 @@ static inline void complete_buffers(struct bio *bio, int status)
|
|||
int nr_sectors = bio_sectors(bio);
|
||||
|
||||
bio->bi_next = NULL;
|
||||
blk_finished_io(len);
|
||||
bio_endio(bio, nr_sectors << 9, status ? 0 : -EIO);
|
||||
bio = xbh;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -989,7 +989,6 @@ static inline void complete_buffers(struct bio *bio, int ok)
|
|||
xbh = bio->bi_next;
|
||||
bio->bi_next = NULL;
|
||||
|
||||
blk_finished_io(nr_sectors);
|
||||
bio_endio(bio, nr_sectors << 9, ok ? 0 : -EIO);
|
||||
|
||||
bio = xbh;
|
||||
|
|
|
|||
Loading…
Reference in a new issue