diff options
author | Namhyung Kim <namhyung@gmail.com> | 2010-10-15 23:40:33 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-10-25 21:18:22 -0400 |
commit | 8358e7d71e712d3bd4e20ecf23e6fd7480c83684 (patch) | |
tree | 2a3e24e823246d02b7c6c72dd1fc54a93b71e578 | |
parent | bb1e5f8c022ae2f6bf1ec0c6b861db3c35976377 (diff) |
fs/buffer.c: remove duplicated assignment on b_private
bh->b_private is initialized within init_buffer(), thus the
assignment should be redundant. Remove it.
Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | fs/buffer.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index a7b8f3c59a4e..74566c6f67b1 100644 --- a/fs/buffer.c +++ b/fs/buffer.c | |||
@@ -905,7 +905,6 @@ try_again: | |||
905 | 905 | ||
906 | bh->b_state = 0; | 906 | bh->b_state = 0; |
907 | atomic_set(&bh->b_count, 0); | 907 | atomic_set(&bh->b_count, 0); |
908 | bh->b_private = NULL; | ||
909 | bh->b_size = size; | 908 | bh->b_size = size; |
910 | 909 | ||
911 | /* Link the buffer to its page */ | 910 | /* Link the buffer to its page */ |