diff options
author | Shaun Ruffell <sruffell@digium.com> | 2009-09-07 21:40:19 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2009-09-07 21:40:19 +0000 |
commit | 8337f8159e0c46fc38d527966996b19d87097aee (patch) | |
tree | a4266ad80e5b27a657d4586469d0608207f961bc /drivers/dahdi/wctdm24xxp/base.c | |
parent | 454eeace0a4092d003985857bbcb0e0607a0abcb (diff) |
wctdm24xxp: Remove a few more unneeded 'volatile' keywords.
The writechunk and readchunk parameters are never accessed by hardware at
the same time that the software is accessing them anymore.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7094 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctdm24xxp/base.c')
-rw-r--r-- | drivers/dahdi/wctdm24xxp/base.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c index 4959981..29cf17c 100644 --- a/drivers/dahdi/wctdm24xxp/base.c +++ b/drivers/dahdi/wctdm24xxp/base.c @@ -461,7 +461,7 @@ static int config_vpmadt032(struct vpmadt032 *vpm) } -static inline void cmd_dequeue_vpmadt032(struct wctdm *wc, unsigned char *writechunk, int whichframe) +static inline void cmd_dequeue_vpmadt032(struct wctdm *wc, u8 *writechunk, int whichframe) { unsigned long flags; struct vpmadt032_cmd *curcmd = NULL; @@ -580,7 +580,7 @@ static inline void cmd_dequeue_vpmadt032(struct wctdm *wc, unsigned char *writec spin_unlock_irqrestore(&wc->reglock, flags); } -static inline void cmd_dequeue(struct wctdm *wc, volatile unsigned char *writechunk, int card, int pos) +static inline void cmd_dequeue(struct wctdm *wc, unsigned char *writechunk, int card, int pos) { unsigned long flags; unsigned int curcmd=0; @@ -751,7 +751,7 @@ static inline void cmd_decipher_vpmadt032(struct wctdm *wc, unsigned char *readc #endif } -static inline void cmd_decipher(struct wctdm *wc, volatile unsigned char *readchunk, int card) +static inline void cmd_decipher(struct wctdm *wc, u8 *readchunk, int card) { unsigned long flags; unsigned char ident; |