From 0342e370fe8e021adf8302088399f6b4b8020b4d Mon Sep 17 00:00:00 2001 From: tzafrir Date: Thu, 10 Jan 2008 18:29:02 +0000 Subject: Remove some unused variables (already applied in 1.4). git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3645 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- wcte12xp/base.c | 4 ---- wcte12xp/vpmadt032.c | 2 -- 2 files changed, 6 deletions(-) (limited to 'wcte12xp') 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; -- cgit v1.2.3