All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] btrfs-progs: remove unnecessary assignment in btrfs-map-logical.c
@ 2012-11-15 12:04 Wang Sheng-Hui
  0 siblings, 0 replies; only message in thread
From: Wang Sheng-Hui @ 2012-11-15 12:04 UTC (permalink / raw)
  To: linux-btrfs

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 --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;
 		}
 	}

-- 
1.7.5.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-15 12:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-15 12:04 [PATCH] btrfs-progs: remove unnecessary assignment in btrfs-map-logical.c Wang Sheng-Hui

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.