summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wcte12xp/base.c4
-rw-r--r--wcte12xp/vpmadt032.c2
2 files changed, 0 insertions, 6 deletions
diff --git a/wcte12xp/base.c b/wcte12xp/base.c
index d3e7789..5791a6c 100644
--- a/wcte12xp/base.c
+++ b/wcte12xp/base.c
@@ -214,7 +214,6 @@ static inline void t1_reinit_descriptor(struct t1 *wc, int tx, int dbl, char *s)
static inline void cmd_dequeue(struct t1 *wc, volatile unsigned char *writechunk, int eframe, int slot)
{
- unsigned long flags;
struct command *curcmd=NULL;
unsigned int x;
@@ -258,7 +257,6 @@ static inline void cmd_dequeue(struct t1 *wc, volatile unsigned char *writechunk
static inline void cmd_decipher(struct t1 *wc, volatile unsigned char *readchunk)
{
- unsigned long flags;
unsigned char ident, cs_slot;
unsigned int x;
unsigned int is_vpm = 0;
@@ -416,7 +414,6 @@ static inline int t1_setreg(struct t1 *wc, int addr, int val)
**************************************************************************/
static inline void clean_leftovers(struct t1 *wc)
{
- unsigned long flags;
unsigned int x;
int count = 0;
@@ -439,7 +436,6 @@ static inline void clean_leftovers(struct t1 *wc)
*******************************************************************/
static inline int t1_getreg_isr(struct t1 *wc, int addr)
{
- unsigned long flags;
int hit=-1;
int ret;
unsigned int x;
diff --git a/wcte12xp/vpmadt032.c b/wcte12xp/vpmadt032.c
index fff287f..12adadc 100644
--- a/wcte12xp/vpmadt032.c
+++ b/wcte12xp/vpmadt032.c
@@ -46,7 +46,6 @@ extern struct t1 *ifaces[WC_MAX_IFACES];
inline void vpm150m_cmd_dequeue(struct t1 *wc, volatile unsigned char *writechunk, int whichframe)
{
- unsigned long flags;
struct vpm150m_cmd *curcmd = NULL;
struct vpm150m *vpm150m = wc->vpm150m;
int x;
@@ -234,7 +233,6 @@ inline void vpm150m_cmd_dequeue(struct t1 *wc, volatile unsigned char *writechun
inline void vpm150m_cmd_decipher(struct t1 *wc, volatile unsigned char *readchunk)
{
- unsigned long flags;
unsigned char ident;
int x, i;