Skip to contentSkip to conversation

fs/buffer.c: remove duplicated assignment on b_private

PATCH New Namhyung Kim 1 participant 1 message Oct 16, 2010 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 fs/buffer.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
fs/buffer.c +0 -1
index 3e7dca2..133ae58 100644
@@ -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 */
Signature · 1 line
1.7.0.4