Skip to contentSkip to conversation

staging: vt6656: dpc.h remove dead function prototypes

PATCH New Malcolm Priestley 1 participant 5 messages Jul 24, 2014 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 staging: vt6656: dpc.h remove dead function prototypes

Removing
RXvWorkItem
RXvFreeRCB

---
 drivers/staging/vt6656/dpc.h | 4 ----
 1 file changed, 4 deletions(-)
drivers/staging/vt6656/dpc.h +0 -4
index 1df2ae8..d538aa3 100644
@@ -32,10 +32,6 @@
 #include "device.h"
 #include "wcmd.h"
 
-void RXvWorkItem(struct work_struct *work);
-
-void RXvFreeRCB(struct vnt_rcb *pRCB, int bReAllocSkb);
-
 int vnt_rx_data(struct vnt_private *, struct vnt_rcb *,
 	unsigned long bytes_recieved);
 
Signature · 1 line
2.0.1
#1 lore raw

PATCH 2/5 staging: vt6656: dpc remove unneeded headers

---
 drivers/staging/vt6656/dpc.c | 3 ---
 drivers/staging/vt6656/dpc.h | 1 -
 2 files changed, 4 deletions(-)
drivers/staging/vt6656/dpc.c +0 -3
index f5fbb5f..07de768 100644
@@ -37,12 +37,9 @@
 
 #include "dpc.h"
 #include "device.h"
-#include "rxtx.h"
-#include "card.h"
 #include "mac.h"
 #include "baseband.h"
 #include "rf.h"
-#include "usbpipe.h"
 
 int vnt_rx_data(struct vnt_private *priv, struct vnt_rcb *ptr_rcb,
 	unsigned long bytes_received)
drivers/staging/vt6656/dpc.h +0 -1
index d538aa3..fab195f 100644
@@ -30,7 +30,6 @@
 #define __DPC_H__
 
 #include "device.h"
-#include "wcmd.h"
 
 int vnt_rx_data(struct vnt_private *, struct vnt_rcb *,
 	unsigned long bytes_recieved);
Signature · 1 line
2.0.1
#2 lore raw

PATCH 3/5 staging: vt6656: power.h remove dead macros

In reply to Malcolm Priestley
---
 drivers/staging/vt6656/power.h | 2 --
 1 file changed, 2 deletions(-)
drivers/staging/vt6656/power.h +0 -2
index bd9de77..256726f 100644
@@ -30,8 +30,6 @@
 #define __POWER_H__
 
 #define     C_PWBT                   1000      // micro sec. power up before TBTT
-#define     PS_FAST_INTERVAL         1         // Fast power saving listen interval
-#define     PS_MAX_INTERVAL          4         // MAX power saving listen interval
 
 void vnt_disable_power_saving(struct vnt_private *);
 void vnt_enable_power_saving(struct vnt_private *, u16);
Signature · 1 line
2.0.1
#3 lore raw

PATCH 4/5 staging: vt6656: rf.h cleanup C_PWBT comments

In reply to Malcolm Priestley
---
 drivers/staging/vt6656/power.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/vt6656/power.h +1 -1
index 256726f..7696b71 100644
@@ -29,7 +29,7 @@
 #ifndef __POWER_H__
 #define __POWER_H__
 
-#define     C_PWBT                   1000      // micro sec. power up before TBTT
+#define C_PWBT	1000 /* micro sec. power up before TBTT */
 
 void vnt_disable_power_saving(struct vnt_private *);
 void vnt_enable_power_saving(struct vnt_private *, u16);
Signature · 1 line
2.0.1
#4 lore raw

PATCH 5/5 staging: vt6656: wcmd.h remove dead macros

In reply to Malcolm Priestley

AUTHENTICATE_TIMEOUT
ASSOCIATE_TIMEOUT

---
 drivers/staging/vt6656/wcmd.h | 3 ---
 1 file changed, 3 deletions(-)
drivers/staging/vt6656/wcmd.h +0 -3
index 79df04a..2b0ee28 100644
@@ -31,9 +31,6 @@
 
 #include "device.h"
 
-#define AUTHENTICATE_TIMEOUT   1000 //ms
-#define ASSOCIATE_TIMEOUT      1000 //ms
-
 /* Command code */
 enum vnt_cmd {
 	WLAN_CMD_INIT_MAC80211,
Signature · 1 line
2.0.1