buffer: remove unusued 'ret' variable
authorJens Axboe <axboe@fb.com>
Tue, 2 Jun 2015 15:22:34 +0000 (09:22 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 2 Jun 2015 15:22:34 +0000 (09:22 -0600)
Merge hickup on my part, due to a clash between the writeback
changes and the EOPNOTSUPP removal in _submit_bh().

Signed-off-by: Jens Axboe <axboe@fb.com>
fs/buffer.c

index aca687f966d79151a1ab4f1d16dd433d306ad307..1cf7a53a02771eb1ebdc49564d6f42aef76a449c 100644 (file)
@@ -3020,7 +3020,6 @@ static int submit_bh_wbc(int rw, struct buffer_head *bh,
                         unsigned long bio_flags, struct writeback_control *wbc)
 {
        struct bio *bio;
-       int ret = 0;
 
        BUG_ON(!buffer_locked(bh));
        BUG_ON(!buffer_mapped(bh));