From: Namhyung Kim Date: Tue, 26 Oct 2010 21:22:31 +0000 (-0700) Subject: fs/buffer.c: remove duplicated assignment to b_private X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1df79da85657aecde2ecff052ff0cf9910311078;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git fs/buffer.c: remove duplicated assignment to b_private bh->b_private is initialized within init_buffer(), thus this assignment is redundant. Signed-off-by: Namhyung Kim Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/buffer.c b/fs/buffer.c index ec21a92e08b4..8d595ab2aed1 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -905,7 +905,6 @@ try_again: bh->b_state = 0; atomic_set(&bh->b_count, 0); - bh->b_private = NULL; bh->b_size = size; /* Link the buffer to its page */