The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
To: gregkh@linuxfoundation.org
Cc: andriy.shevchenko@linux.intel.com, jj@chaosbits.net,
	forest@alittletooquiet.net, devel@driverdev.osuosl.org,
	linux-kernel@vger.kernel.org,
	Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Subject: [PATCH 4/6] staging: vt6655: baseband.h: Remove all unused macros
Date: Sun,  8 Jul 2012 23:51:24 -0300	[thread overview]
Message-ID: <1341802286-28281-5-git-send-email-marcos.souza.org@gmail.com> (raw)
In-Reply-To: <1341802286-28281-1-git-send-email-marcos.souza.org@gmail.com>

These macros were reported by forgotten-macros tool
(https://github.com/marcosps/forgotten_macros).

Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
---
 drivers/staging/vt6655/baseband.h |   30 ------------------------------
 1 file changed, 30 deletions(-)

diff --git a/drivers/staging/vt6655/baseband.h b/drivers/staging/vt6655/baseband.h
index 8294bdb..be2d689 100644
--- a/drivers/staging/vt6655/baseband.h
+++ b/drivers/staging/vt6655/baseband.h
@@ -46,36 +46,6 @@
 // Baseband RF pair definition in eeprom (Bits 6..0)
 //
 
-/*
-#define RATE_1M         0
-#define RATE_2M         1
-#define RATE_5M         2
-#define RATE_11M        3
-#define RATE_6M         4
-#define RATE_9M         5
-#define RATE_12M        6
-#define RATE_18M        7
-#define RATE_24M        8
-#define RATE_36M        9
-#define RATE_48M       10
-#define RATE_54M       11
-#define RATE_AUTO      12
-#define MAX_RATE       12
-
-
-//0:11A 1:11B 2:11G
-#define BB_TYPE_11A    0
-#define BB_TYPE_11B    1
-#define BB_TYPE_11G    2
-
-//0:11a,1:11b,2:11gb(only CCK in BasicRate),3:11ga(OFDM in Basic Rate)
-#define PK_TYPE_11A     0
-#define PK_TYPE_11B     1
-#define PK_TYPE_11GB    2
-#define PK_TYPE_11GA    3
-*/
-
-
 #define PREAMBLE_LONG   0
 #define PREAMBLE_SHORT  1
 
-- 
1.7.10.4


  parent reply	other threads:[~2012-07-09  2:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-09  2:51 [PATCH 0/6] staging: vt6655: Cleanup in usage of macros Marcos Paulo de Souza
2012-07-09  2:51 ` [PATCH 1/6] staging: vt6655: Remove all "if 0" blocks from driver Marcos Paulo de Souza
2012-07-09  2:51 ` [PATCH 2/6] staging: vt6655: mac.h: Remove all commented macros Marcos Paulo de Souza
2012-07-09  2:51 ` [PATCH 3/6] staging: vt6655: rf.c: Remove all unused macros Marcos Paulo de Souza
2012-07-09  2:51 ` Marcos Paulo de Souza [this message]
2012-07-09  2:51 ` [PATCH 5/6] staging: vt6655: Remove all commented macros Marcos Paulo de Souza
2012-07-09  2:51 ` [PATCH 6/6] staging: vt6655: hostap.c: Remove all unused macros Marcos Paulo de Souza
2012-07-09  4:24 ` [PATCH 0/6] staging: vt6655: Cleanup in usage of macros Joe Perches
2012-07-09  9:19   ` Marcos Souza

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1341802286-28281-5-git-send-email-marcos.souza.org@gmail.com \
    --to=marcos.souza.org@gmail.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=forest@alittletooquiet.net \
    --cc=gregkh@linuxfoundation.org \
    --cc=jj@chaosbits.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox