Skip to contentSkip to conversation

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

PATCH New Wang Sheng-Hui 1 participant 1 message Nov 15, 2012 Btrfs file system

lore
Share & tools
lore
#0 lore raw

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

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.

---
 btrfs-map-logical.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
btrfs-map-logical.c +0 -1
index fa4fb3f..2ecaabd 100644
@@ -187,7 +187,6 @@ int main(int ac, char **av)
 				close(out_fd);
 				goto close;
 			}
-			info_file = stdout;
 		}
 	}
 
Signature · 1 line
1.7.5.4