summaryrefslogtreecommitdiffstats
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2015-06-02 09:22:34 -0600
committerJens Axboe <axboe@fb.com>2015-06-02 09:22:34 -0600
commitd2e73fcceb18570e82cf3f4725b9e4dbd6cb3c31 (patch)
tree5a95b5529f60ff886ed769989f3ce38e7c7598fc /fs/buffer.c
parente8a7abf5a5bd302a1e06a3c21a629eaa4cba57d6 (diff)
downloadop-kernel-dev-d2e73fcceb18570e82cf3f4725b9e4dbd6cb3c31.zip
op-kernel-dev-d2e73fcceb18570e82cf3f4725b9e4dbd6cb3c31.tar.gz
buffer: remove unusued 'ret' variable
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>
Diffstat (limited to 'fs/buffer.c')
-rw-r--r--fs/buffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/buffer.c b/fs/buffer.c
index aca687f..1cf7a53 100644
--- a/fs/buffer.c
+++ b/fs/buffer.c
@@ -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));
OpenPOWER on IntegriCloud