From patchwork Tue Oct 28 22:25:04 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Harvey Harrison X-Patchwork-Id: 6168 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id C737FDDE00 for ; Wed, 29 Oct 2008 09:25:27 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752767AbYJ1WZW (ORCPT ); Tue, 28 Oct 2008 18:25:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752651AbYJ1WZW (ORCPT ); Tue, 28 Oct 2008 18:25:22 -0400 Received: from el-out-1112.google.com ([209.85.162.183]:40082 "EHLO el-out-1112.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752508AbYJ1WZL (ORCPT ); Tue, 28 Oct 2008 18:25:11 -0400 Received: by el-out-1112.google.com with SMTP id z25so914505ele.1 for ; Tue, 28 Oct 2008 15:25:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=zqQncec2SM2F4W+pFOlUeLOK7PcMSPbt1XyoyGixYK8=; b=qCHYmuBF2/mdstjX5fLZsq0akDHDdjOWybHoJlcIXpOfWbiE4fRaZ/cyCt6+xKM8vA xncIWuMyiikPo7uauwNM3DwoRsoSqhtpAvZtV49Q7JpylPOLzSTEgJ7TyG3RfTlotT6A SWh0N6O4L3i3swapj5iSmTwETYpQuKzkcGD1o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; b=kVAUcEsMTbqeOGdvd+kO77zwVxSSNjbo8EHkqg+CLlTS6drBWoYcrCWfDeGrpeGNkw aPY/YVCRmkyShminGB5ujryvIn64Qn40BX8oo7hsPiLNFwKVdAFLSu460y0igPmE2bUv L8I3uiEQEmoyl40Kmor1MQo1y0rGqfRkh3Ovw= Received: by 10.142.179.7 with SMTP id b7mr3634236wff.128.1225232709893; Tue, 28 Oct 2008 15:25:09 -0700 (PDT) Received: from ?192.168.101.45? ([216.251.156.242]) by mx.google.com with ESMTPS id 24sm4851033wff.17.2008.10.28.15.25.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 28 Oct 2008 15:25:09 -0700 (PDT) Subject: [PATCH 2/2] infiniband: remove IPOIB_GID_RAW_ARG, IPOIB_GID_ARG, IPOIB_GID_FMT From: Harvey Harrison To: David Miller Cc: Roland Dreier , linux-netdev Date: Tue, 28 Oct 2008 15:25:04 -0700 Message-Id: <1225232704.11483.64.camel@brick> Mime-Version: 1.0 X-Mailer: Evolution 2.24.1 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Signed-off-by: Harvey Harrison --- drivers/infiniband/ulp/ipoib/ipoib.h | 23 ----------------------- 1 files changed, 0 insertions(+), 23 deletions(-) diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h index e0c7dfa..753a983 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib.h +++ b/drivers/infiniband/ulp/ipoib/ipoib.h @@ -732,29 +732,6 @@ extern int ipoib_debug_level; do { (void) (priv); } while (0) #endif /* CONFIG_INFINIBAND_IPOIB_DEBUG_DATA */ - -#define IPOIB_GID_FMT "%2.2x%2.2x:%2.2x%2.2x:%2.2x%2.2x:%2.2x%2.2x:" \ - "%2.2x%2.2x:%2.2x%2.2x:%2.2x%2.2x:%2.2x%2.2x" - -#define IPOIB_GID_RAW_ARG(gid) ((u8 *)(gid))[0], \ - ((u8 *)(gid))[1], \ - ((u8 *)(gid))[2], \ - ((u8 *)(gid))[3], \ - ((u8 *)(gid))[4], \ - ((u8 *)(gid))[5], \ - ((u8 *)(gid))[6], \ - ((u8 *)(gid))[7], \ - ((u8 *)(gid))[8], \ - ((u8 *)(gid))[9], \ - ((u8 *)(gid))[10],\ - ((u8 *)(gid))[11],\ - ((u8 *)(gid))[12],\ - ((u8 *)(gid))[13],\ - ((u8 *)(gid))[14],\ - ((u8 *)(gid))[15] - -#define IPOIB_GID_ARG(gid) IPOIB_GID_RAW_ARG((gid).raw) - #define IPOIB_QPN(ha) (be32_to_cpup((__be32 *) ha) & 0xffffff) #endif /* _IPOIB_H */