From patchwork Thu Nov 15 12:04:37 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wang Sheng-Hui X-Patchwork-Id: 1748801 Return-Path: X-Original-To: patchwork-linux-btrfs@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 201F5DF230 for ; Thu, 15 Nov 2012 12:04:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1767676Ab2KOMEu (ORCPT ); Thu, 15 Nov 2012 07:04:50 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:46286 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1767666Ab2KOMEt (ORCPT ); Thu, 15 Nov 2012 07:04:49 -0500 Received: by mail-pa0-f46.google.com with SMTP id hz1so1032689pad.19 for ; Thu, 15 Nov 2012 04:04:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=7x7DT7YqWy9mEvj1pk3HJhCMvb0aiGTv4FCfQCL6Kh8=; b=kxlv6rRG83YXi+Q0m7qzH78bAOAaeTjNC1/RKNViOJSAwwaWqL2KFFQD/DiU8MEsgB Nb974rR+ByMauUxmpIGluogIaNb7stgsEVaKmxim7fh8P+0XcT8Yrz6axkUNy68Zefqv Nd9whu70jIJJU3zlEGmuTK87SS21InRqSZoqsyTq/xrq6dJCnaIWVh0opi15WEboLdH+ 0ib59hond9UzmzvDsYRdIJxPn3Kddz0YBXf53zB6ySpwIFa4a+fSqU7amyzOv6s30wO+ c6M6hwQ5LnfNW3SKHB3gmGBQO4wTFFD1s3bmvAuhOHmtXXq3CRuJfbMWVvRXGziHWyf8 2hRg== Received: by 10.68.239.104 with SMTP id vr8mr4126070pbc.59.1352981088751; Thu, 15 Nov 2012 04:04:48 -0800 (PST) Received: from crossover.org ([122.70.0.213]) by mx.google.com with ESMTPS id ue7sm9423371pbc.53.2012.11.15.04.04.45 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Nov 2012 04:04:46 -0800 (PST) Message-ID: <50A4DA55.4050105@gmail.com> Date: Thu, 15 Nov 2012 20:04:37 +0800 From: Wang Sheng-Hui User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: linux-btrfs@vger.kernel.org Subject: [PATCH] btrfs-progs: remove unnecessary assignment in btrfs-map-logical.c Sender: linux-btrfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org 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 --- 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; } }