| To: | Jean Tourrilhes <jt@xxxxxxxxxxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxx> |
|---|---|
| Subject: | [PATCH] (3/4) remove duplicate of irlan_state |
| From: | Stephen Hemminger <shemminger@xxxxxxxx> |
| Date: | Mon, 18 Aug 2003 12:24:38 -0700 |
| Cc: | irda-users@xxxxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| Organization: | Open Source Development Lab |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Remove duplicate string definition. Same table already defined and
exported in irlan_event.c
diff -Nru a/net/irda/irlan/irlan_common.c b/net/irda/irlan/irlan_common.c
--- a/net/irda/irlan/irlan_common.c Mon Aug 18 11:09:50 2003
+++ b/net/irda/irlan/irlan_common.c Mon Aug 18 11:09:50 2003
@@ -74,20 +74,6 @@
static int access = ACCESS_PEER; /* PEER, DIRECT or HOSTED */
#ifdef CONFIG_PROC_FS
-static char *irlan_state[] = {
- "IRLAN_IDLE",
- "IRLAN_QUERY",
- "IRLAN_CONN",
- "IRLAN_INFO",
- "IRLAN_MEDIA",
- "IRLAN_OPEN",
- "IRLAN_WAIT",
- "IRLAN_ARB",
- "IRLAN_DATA",
- "IRLAN_CLOSE",
- "IRLAN_SYNC"
-};
-
static char *irlan_access[] = {
"UNKNOWN",
"DIRECT",
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] (2/4) convert irlan to use alloc_netdev, David S. Miller |
|---|---|
| Next by Date: | [PATCH] (4/4) convert irlan to seq_file interface, Stephen Hemminger |
| Previous by Thread: | [PATCH] (2/4) convert irlan to use alloc_netdev, Stephen Hemminger |
| Next by Thread: | [PATCH] (4/4) convert irlan to seq_file interface, Stephen Hemminger |
| Indexes: | [Date] [Thread] [Top] [All Lists] |