From patchwork Mon May 31 14:00:53 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Carpenter X-Patchwork-Id: 103282 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4VE1PTN023606 for ; Mon, 31 May 2010 14:01:25 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754698Ab0EaOBY (ORCPT ); Mon, 31 May 2010 10:01:24 -0400 Received: from mail-ew0-f216.google.com ([209.85.219.216]:50289 "EHLO mail-ew0-f216.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753840Ab0EaOBX (ORCPT ); Mon, 31 May 2010 10:01:23 -0400 Received: by ewy8 with SMTP id 8so971437ewy.28 for ; Mon, 31 May 2010 07:01:21 -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:mime-version:content-type:content-disposition:user-agent; bh=9rkITLhD5Ioys2FJ4xb20p5fu3G70T9FmYZiZoEd7no=; b=WUzaAyDF3XyXwNkpXbF/tq2vSXCmEEnF4WPxDJcX0BfP1d/PJxGzcJ+uYJkYpggpVy SrfyknPTLvXMf/tJyayywB0iX4nfsMdE0ZO9Lne4L8nkB5T07mZhZGlW+QCMxRalVYRF lgTAXitZUhXz52w50deVxpRCOlI+4FynFAICE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; b=AjV/1ljvUH0Szl9ZsXlEhaf85jTkY1+rgHMfEejbyoaaicBiZe/ZqsD3y/xHFAUiqS Hd0i0aLnNMGQYhFA3BFOXHxq6qanMLy1H9vZeyQDH2M3UZYiCirplESxNJo2yBMguy02 450vkp4awmd7h6t4wmNuhSGGTFWgaLfkTZbFA= Received: by 10.213.17.194 with SMTP id t2mr2138901eba.74.1275314481110; Mon, 31 May 2010 07:01:21 -0700 (PDT) Received: from bicker ([205.177.176.130]) by mx.google.com with ESMTPS id 15sm3070608ewy.0.2010.05.31.07.01.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 31 May 2010 07:01:20 -0700 (PDT) Date: Mon, 31 May 2010 16:00:53 +0200 From: Dan Carpenter To: Steve Wise Cc: Roland Dreier , Sean Hefty , Hal Rosenstock , linux-rdma@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: [patch 1/2] infiniband/cxgb4: remove unneeded assignment Message-ID: <20100531140053.GT5483@bicker> MIME-Version: 1.0 Content-Disposition: inline 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]); Mon, 31 May 2010 14:01:25 +0000 (UTC) diff --git a/drivers/infiniband/hw/cxgb4/cm.c b/drivers/infiniband/hw/cxgb4/cm.c index 30ce0a8..60b5beb 100644 --- a/drivers/infiniband/hw/cxgb4/cm.c +++ b/drivers/infiniband/hw/cxgb4/cm.c @@ -2242,7 +2242,7 @@ static void process_work(struct work_struct *work) { struct sk_buff *skb = NULL; struct c4iw_dev *dev; - struct cpl_act_establish *rpl = cplhdr(skb); + struct cpl_act_establish *rpl; unsigned int opcode; int ret;