2014-07-24 22:34:49

by Malcolm Priestley

[permalink] [raw]
Subject: [PATCH 1/5] staging: vt6656: dpc.h remove dead function prototypes

Removing
RXvWorkItem
RXvFreeRCB

Signed-off-by: Malcolm Priestley <[email protected]>
---
drivers/staging/vt6656/dpc.h | 4 ----
1 file changed, 4 deletions(-)

diff --git a/drivers/staging/vt6656/dpc.h b/drivers/staging/vt6656/dpc.h
index 1df2ae8..d538aa3 100644
--- a/drivers/staging/vt6656/dpc.h
+++ b/drivers/staging/vt6656/dpc.h
@@ -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);

--
2.0.1



2014-07-24 22:34:51

by Malcolm Priestley

[permalink] [raw]
Subject: [PATCH 2/5] staging: vt6656: dpc remove unneeded headers

Signed-off-by: Malcolm Priestley <[email protected]>
---
drivers/staging/vt6656/dpc.c | 3 ---
drivers/staging/vt6656/dpc.h | 1 -
2 files changed, 4 deletions(-)

diff --git a/drivers/staging/vt6656/dpc.c b/drivers/staging/vt6656/dpc.c
index f5fbb5f..07de768 100644
--- a/drivers/staging/vt6656/dpc.c
+++ b/drivers/staging/vt6656/dpc.c
@@ -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)
diff --git a/drivers/staging/vt6656/dpc.h b/drivers/staging/vt6656/dpc.h
index d538aa3..fab195f 100644
--- a/drivers/staging/vt6656/dpc.h
+++ b/drivers/staging/vt6656/dpc.h
@@ -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);
--
2.0.1


2014-07-24 22:34:53

by Malcolm Priestley

[permalink] [raw]
Subject: [PATCH 3/5] staging: vt6656: power.h remove dead macros

Signed-off-by: Malcolm Priestley <[email protected]>
---
drivers/staging/vt6656/power.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/staging/vt6656/power.h b/drivers/staging/vt6656/power.h
index bd9de77..256726f 100644
--- a/drivers/staging/vt6656/power.h
+++ b/drivers/staging/vt6656/power.h
@@ -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);
--
2.0.1


2014-07-24 22:34:57

by Malcolm Priestley

[permalink] [raw]
Subject: [PATCH 5/5] staging: vt6656: wcmd.h remove dead macros

AUTHENTICATE_TIMEOUT
ASSOCIATE_TIMEOUT

Signed-off-by: Malcolm Priestley <[email protected]>
---
drivers/staging/vt6656/wcmd.h | 3 ---
1 file changed, 3 deletions(-)

diff --git a/drivers/staging/vt6656/wcmd.h b/drivers/staging/vt6656/wcmd.h
index 79df04a..2b0ee28 100644
--- a/drivers/staging/vt6656/wcmd.h
+++ b/drivers/staging/vt6656/wcmd.h
@@ -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,
--
2.0.1


2014-07-24 22:34:55

by Malcolm Priestley

[permalink] [raw]
Subject: [PATCH 4/5] staging: vt6656: rf.h cleanup C_PWBT comments

Signed-off-by: Malcolm Priestley <[email protected]>
---
drivers/staging/vt6656/power.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/vt6656/power.h b/drivers/staging/vt6656/power.h
index 256726f..7696b71 100644
--- a/drivers/staging/vt6656/power.h
+++ b/drivers/staging/vt6656/power.h
@@ -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);
--
2.0.1