From patchwork Tue May 1 18:23:23 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 8334 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 5E29F23E23 for ; Tue, 1 May 2012 18:23:29 +0000 (UTC) Received: from mail-yx0-f180.google.com (mail-yx0-f180.google.com [209.85.213.180]) by fiordland.canonical.com (Postfix) with ESMTP id 2BE7AA181B1 for ; Tue, 1 May 2012 18:23:29 +0000 (UTC) Received: by yenl4 with SMTP id l4so2642925yen.11 for ; Tue, 01 May 2012 11:23:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=D5L0YNSdHGHAQ5KF/PlcP3N4t0MZX65KAJ2P52DPMbE=; b=OGfA6YVVZ5ztXEa5ticte6Tx1fAudix9qA1MkiCvSrXNQ2R5KtIEscWCBeYEAYAHr9 QUWk8kLiTwOQL6yY/W7RAeGpB+mDQd/DC8M6aEAP3UVTHzYgB9wVUfXX1UtRWcWDeA+n gwYItzEk6hvIaSwpI+fgsMDv94K2ZdtSh9Hb8i8u4l5Qo5RJzgtpznA0z/m9/6o+4K7M qcztKpwRMQqBTYTG1O4djFfLhscfMnKwlLVKz7pyejq7x2ZypmYE7uASSXs/EXB4Owx7 QofuZpOVNR2Vn/cF6hdcv8wTXUfW+ioMg4oNkWL4gcbgdAAgZF7akay8+dz+L8n13jqL tfTQ== Received: by 10.50.89.168 with SMTP id bp8mr2779691igb.3.1335896608410; Tue, 01 May 2012 11:23:28 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.137.198 with SMTP id x6csp198014ibt; Tue, 1 May 2012 11:23:27 -0700 (PDT) Received: by 10.112.36.163 with SMTP id r3mr2550964lbj.87.1335896607107; Tue, 01 May 2012 11:23:27 -0700 (PDT) Received: from mail.df.lth.se (mail.df.lth.se. [194.47.250.12]) by mx.google.com with ESMTPS id ft1si10073763lbb.6.2012.05.01.11.23.26 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 May 2012 11:23:27 -0700 (PDT) Received-SPF: neutral (google.com: 194.47.250.12 is neither permitted nor denied by best guess record for domain of linus.walleij@linaro.org) client-ip=194.47.250.12; Authentication-Results: mx.google.com; spf=neutral (google.com: 194.47.250.12 is neither permitted nor denied by best guess record for domain of linus.walleij@linaro.org) smtp.mail=linus.walleij@linaro.org Received: from fecusia (c83-249-217-212.bredband.comhem.se [83.249.217.212]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.df.lth.se (Postfix) with ESMTPSA id D19A765D56; Tue, 1 May 2012 20:23:24 +0200 (CEST) Received: by fecusia (sSMTP sendmail emulation); Tue, 1 May 2012 20:23:24 +0200 From: "Linus Walleij" To: netdev@vger.kernel.org, linux-usb@vger.kernel.org, Greg Kroah-Hartman , "David S. Miller" , Felipe Balbi Cc: Jussi Kivilinna , Haiyang Zhang , Wei Yongjun , Ben Hutchings , Linus Walleij Subject: [PATCH 09/13 v4] usb/net: rndis: delete duplicate packet types Date: Tue, 1 May 2012 20:23:23 +0200 Message-Id: <1335896603-13559-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.7.7.6 X-Gm-Message-State: ALoCoQnB0bHMyKw+DXsgV7tmMjzkc7UYlc1wChE1AhuyV6H0cQdt+AtrdMtIsQ8F8GbKNJeRGSHC The NDIS_*-prefixed packet types have equivalent RNDIS_*- prefixed types, besides nothing in the kernel use these defines. Signed-off-by: Linus Walleij --- include/linux/rndis.h | 13 ------------- 1 files changed, 0 insertions(+), 13 deletions(-) diff --git a/include/linux/rndis.h b/include/linux/rndis.h index 4857959..83b3d70 100644 --- a/include/linux/rndis.h +++ b/include/linux/rndis.h @@ -185,19 +185,6 @@ #define NDIS_MINIPORT_SUPPORTS_CANCEL_SEND_PACKETS 0x00800000 #define NDIS_MINIPORT_64BITS_DMA 0x01000000 -#define NDIS_PACKET_TYPE_DIRECTED 0x00000001 -#define NDIS_PACKET_TYPE_MULTICAST 0x00000002 -#define NDIS_PACKET_TYPE_ALL_MULTICAST 0x00000004 -#define NDIS_PACKET_TYPE_BROADCAST 0x00000008 -#define NDIS_PACKET_TYPE_SOURCE_ROUTING 0x00000010 -#define NDIS_PACKET_TYPE_PROMISCUOUS 0x00000020 -#define NDIS_PACKET_TYPE_SMT 0x00000040 -#define NDIS_PACKET_TYPE_ALL_LOCAL 0x00000080 -#define NDIS_PACKET_TYPE_GROUP 0x00000100 -#define NDIS_PACKET_TYPE_ALL_FUNCTIONAL 0x00000200 -#define NDIS_PACKET_TYPE_FUNCTIONAL 0x00000400 -#define NDIS_PACKET_TYPE_MAC_FRAME 0x00000800 - #define NDIS_MAC_OPTION_COPY_LOOKAHEAD_DATA 0x00000001 #define NDIS_MAC_OPTION_RECEIVE_SERIALIZED 0x00000002 #define NDIS_MAC_OPTION_TRANSFERS_NOT_PEND 0x00000004