diff mbox

btrfs-progs: remove unnecessary assignment in btrfs-map-logical.c

Message ID 50A4DA55.4050105@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Wang Sheng-Hui Nov. 15, 2012, 12:04 p.m. UTC
The info_file is set to stdout by default, and we donot need to
reassign it to stdout if it's not changed to other values.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
---
 btrfs-map-logical.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/btrfs-map-logical.c b/btrfs-map-logical.c
index fa4fb3f..2ecaabd 100644
--- a/btrfs-map-logical.c
+++ b/btrfs-map-logical.c
@@ -187,7 +187,6 @@  int main(int ac, char **av)
 				close(out_fd);
 				goto close;
 			}
-			info_file = stdout;
 		}
 	}