From patchwork Wed Jan 19 22:35:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonas Gorski X-Patchwork-Id: 490591 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p0JMZNvo017225 for ; Wed, 19 Jan 2011 22:35:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755066Ab1ASWfT (ORCPT ); Wed, 19 Jan 2011 17:35:19 -0500 Received: from mail-fx0-f46.google.com ([209.85.161.46]:57039 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755025Ab1ASWfR (ORCPT ); Wed, 19 Jan 2011 17:35:17 -0500 Received: by mail-fx0-f46.google.com with SMTP id 20so1417828fxm.19 for ; Wed, 19 Jan 2011 14:35:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=bWBwSBZi/nL9OvA4pVbfAGoeG9Q0WWuQZFXUaPxaPNU=; b=UuUK1858RUdDraE4WXNI1gg6R60u6DbkndY6YGD0ouzrEuZxOeVFU8DnXktUwwuM8F Om0eHEtqBHqV3qdt1ZLRNT/6ei2sx67jtWQCnmQRsRFPtlLX2GGluuSf0WgvbKMQau2F c8tuu6hZVjzjiY+aVpiETR0uZtyYaTxpQJaMg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=iCdODo33y1lSIL0KZ7Tae/+50Og3iS3/rZedujEEu4k6UDBwmbUbqIZ/GrhBo44aSF HzhpHSF3QBk5SYlfzQB+boasYl0dvlr92ghZH6RRELVQVROE7yvBoQniZWkxy3ILqWwd 4WJI8MLZRHH+/B1y1ZDYstzqzLBTaqlaaFKOs= Received: by 10.223.100.15 with SMTP id w15mr1232675fan.121.1295476490641; Wed, 19 Jan 2011 14:34:50 -0800 (PST) Received: from localhost.localdomain (dslb-088-073-145-019.pools.arcor-ip.net [88.73.145.19]) by mx.google.com with ESMTPS id n3sm2885772faa.5.2011.01.19.14.34.48 (version=SSLv3 cipher=RC4-MD5); Wed, 19 Jan 2011 14:34:49 -0800 (PST) From: Jonas Gorski To: linux-wireless@vger.kernel.org Cc: Brett Rudley , Henry Ptasinski , Dowan Kim , Roland Vossen , Arend van Spriel Subject: [RFT 3/8] staging: brcm80211: Remove unused ETHER_ defines. Date: Wed, 19 Jan 2011 23:35:27 +0100 Message-Id: <1295476532-21130-4-git-send-email-jonas.gorski@gmail.com> X-Mailer: git-send-email 1.5.6.5 In-Reply-To: <1295476532-21130-3-git-send-email-jonas.gorski@gmail.com> References: <1295476532-21130-1-git-send-email-jonas.gorski@gmail.com> <1295476532-21130-2-git-send-email-jonas.gorski@gmail.com> <1295476532-21130-3-git-send-email-jonas.gorski@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 19 Jan 2011 22:35:24 +0000 (UTC) diff --git a/drivers/staging/brcm80211/include/proto/ethernet.h b/drivers/staging/brcm80211/include/proto/ethernet.h index af3b977..1176df9 100644 --- a/drivers/staging/brcm80211/include/proto/ethernet.h +++ b/drivers/staging/brcm80211/include/proto/ethernet.h @@ -21,19 +21,10 @@ #include -#define ETHER_TYPE_LEN 2 -#define ETHER_CRC_LEN 4 -#define ETHER_MIN_LEN 64 -#define ETHER_MIN_DATA 46 #define ETHER_MAX_LEN 1518 -#define ETHER_MAX_DATA 1500 #define ETHER_TYPE_BRCM 0x886c -#define ETHER_DEST_OFFSET (0 * ETH_ALEN) -#define ETHER_SRC_OFFSET (1 * ETH_ALEN) -#define ETHER_TYPE_OFFSET (2 * ETH_ALEN) - BWL_PRE_PACKED_STRUCT struct ether_addr { u8 octet[ETH_ALEN]; } BWL_POST_PACKED_STRUCT;