From patchwork Thu Aug 5 23:48:32 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Carpenter X-Patchwork-Id: 117609 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o75Nnn8R008697 for ; Thu, 5 Aug 2010 23:49:49 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758856Ab0HEXtL (ORCPT ); Thu, 5 Aug 2010 19:49:11 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:38429 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755711Ab0HEXtK (ORCPT ); Thu, 5 Aug 2010 19:49:10 -0400 Received: by wyb39 with SMTP id 39so7211342wyb.19 for ; Thu, 05 Aug 2010 16:49:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=CtqXhAa16PoxAENl5lcc0vYqKGYbcZD7CLEYEndc70M=; b=UVyX7LlAOHKUjf64ms4jYE2t5PlEcuOTp+8XJMRJqG5kVcuJZYi+uoTiY6XX21MvbP YVM9CfB4s0kf6g1sCH88qBHUGU4tUiH9PD+ZGroZ06iHFdINuygUnCe/o56SOhPJFDaT L6BI7kmm8aVgk9blOEYcRp2QVyyX8kyQXbNMw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=xFCPBTzR3d7F9v1jA2/BMuhFb5jXEWfqM5P/ZwN0cQPBlqRJDnVxfiUXNoSacXXKdK YNYCTNTqZYsLIATuOcGcePIsQZWTclBCTjOIlQi8WIbzxgcglVCB/sc8Xg7Aoo/Gv8sN s4yrqhKIFo2PdeNaFa9PeaIZc8Vd+dync2cSk= Received: by 10.227.155.139 with SMTP id s11mr9788355wbw.221.1281052146501; Thu, 05 Aug 2010 16:49:06 -0700 (PDT) Received: from bicker ([205.177.176.130]) by mx.google.com with ESMTPS id b18sm677722wbb.19.2010.08.05.16.48.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 05 Aug 2010 16:49:05 -0700 (PDT) Date: Fri, 6 Aug 2010 01:48:32 +0200 From: Dan Carpenter To: Julia Lawall Cc: Faisal Latif , Chien Tung , Roland Dreier , Sean Hefty , Hal Rosenstock , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: [PATCH 4/42 v2] drivers/infiniband/hw/nes: Adjust confusing if indentation Message-ID: <20100805234831.GK9031@bicker> Mail-Followup-To: Dan Carpenter , Julia Lawall , Faisal Latif , Chien Tung , Roland Dreier , Sean Hefty , Hal Rosenstock , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 05 Aug 2010 23:49:49 +0000 (UTC) diff --git a/drivers/infiniband/hw/nes/nes_hw.c b/drivers/infiniband/hw/nes/nes_hw.c index 57874a1..293977b 100644 --- a/drivers/infiniband/hw/nes/nes_hw.c +++ b/drivers/infiniband/hw/nes/nes_hw.c @@ -2737,9 +2737,9 @@ void nes_nic_ce_handler(struct nes_device *nesdev, struct nes_hw_nic_cq *cq) nesnic->sq_tail &= nesnic->sq_size-1; if (sq_cqes > 128) { barrier(); - /* restart the queue if it had been stopped */ - if (netif_queue_stopped(nesvnic->netdev)) - netif_wake_queue(nesvnic->netdev); + /* restart the queue if it had been stopped */ + if (netif_queue_stopped(nesvnic->netdev)) + netif_wake_queue(nesvnic->netdev); sq_cqes = 0; } } else {