diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-01-10 18:29:02 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2008-01-10 18:29:02 +0000 |
commit | 0342e370fe8e021adf8302088399f6b4b8020b4d (patch) | |
tree | 03eb72625ef65db1e7151cd216b545080b8c94e1 /wcte12xp | |
parent | 21dc4e8b35c0a989832ddf0785001641ac462fc9 (diff) |
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
Diffstat (limited to 'wcte12xp')
-rw-r--r-- | wcte12xp/base.c | 4 | ||||
-rw-r--r-- | wcte12xp/vpmadt032.c | 2 |
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; |