From patchwork Mon Apr 8 11:36:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 2408031 X-Patchwork-Delegate: hal@mellanox.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 942303FC71 for ; Mon, 8 Apr 2013 11:36:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935136Ab3DHLg5 (ORCPT ); Mon, 8 Apr 2013 07:36:57 -0400 Received: from mail-ea0-f180.google.com ([209.85.215.180]:51775 "EHLO mail-ea0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934522Ab3DHLg5 (ORCPT ); Mon, 8 Apr 2013 07:36:57 -0400 Received: by mail-ea0-f180.google.com with SMTP id d10so2196522eaj.11 for ; Mon, 08 Apr 2013 04:36:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:content-type:content-transfer-encoding:x-gm-message-state; bh=B/q1m5r0d4GwhpZrESU/XXPg6XIvwJACOwBUJtJy5yk=; b=NSWZmOjipy/hztNkfZ8o2WVitwDWsPIVqcJf0UWHzpSgsSQ1YNb297lI9ujGF4vctX vQChVrEc45Ejs+5/g/D5bvvRyVu0xDAl1QUUNfwPt8weMVQMRZ2/bIftjnLI4XhK2/uz cE0lUKUYd9TZS0+Kbxk40yvq+v6nHasnB26sEuSnJL8gct//iJ0ifejrT9ryWl0gbuKP 1Tp2PkZ2vyrrWHmg21bQmxGW310xLYxN6HntN5w7W8mlPP2myeQclsDo5actdesw/263 7V7IK+x9GANM69fWbwWjsDtrpb9iEtCJrf4nU+yC+INC0kLzHw1GlnEnsmZ2kywGH2UY x5IQ== X-Received: by 10.15.43.132 with SMTP id x4mr48161569eev.31.1365421015882; Mon, 08 Apr 2013 04:36:55 -0700 (PDT) Received: from [192.168.1.102] (c-71-234-225-85.hsd1.ct.comcast.net. [71.234.225.85]) by mx.google.com with ESMTPS id s3sm31532339eem.4.2013.04.08.04.36.54 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 08 Apr 2013 04:36:55 -0700 (PDT) Message-ID: <5162ABD5.1050006@dev.mellanox.co.il> Date: Mon, 08 Apr 2013 07:36:53 -0400 From: Hal Rosenstock User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: "linux-rdma (linux-rdma@vger.kernel.org)" CC: Ilya Nelkenbaum Subject: [PATCH opensm] osm_log.c: Remove unnecessary initialization in osm_log X-Gm-Message-State: ALoCoQnAEMT8T/dua5oRKVZnhQ/LSQX9SOPjyC0T4U89PFFCFTpNOdEdRjp0Ke7/J1L8YUGF4UtG Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Signed-off-by: Hal Rosenstock --- -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/opensm/osm_log.c b/opensm/osm_log.c index 327a89a..3460cc5 100644 --- a/opensm/osm_log.c +++ b/opensm/osm_log.c @@ -119,7 +119,7 @@ void osm_log(IN osm_log_t * p_log, IN osm_log_level_t verbosity, SYSTEMTIME st; uint32_t pid = GetCurrentThreadId(); #else - pid_t pid = 0; + pid_t pid; time_t tim; struct tm result; uint64_t time_usecs;