diff options
| author | Namhyung Kim <namhyung@gmail.com> | 2010-10-26 17:22:31 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-26 19:52:13 -0400 |
| commit | 1df79da85657aecde2ecff052ff0cf9910311078 (patch) | |
| tree | d8a7032f425ecc2582cc0fed2e1d40a57255e189 | |
| parent | d88262623fb58853ed60fb110141c435de26e3de (diff) | |
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 <namhyung@gmail.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
| -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 ec21a92e08b4..8d595ab2aed1 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 */ |
