summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcte12xp
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2009-08-04 16:22:32 +0000
committerShaun Ruffell <sruffell@digium.com>2009-08-04 16:22:32 +0000
commit9ce2b6f2339ef6972e21cf574d9a8ffad9c71740 (patch)
tree1bd8a9c45c7475990d421007609e5c86e0f8564a /drivers/dahdi/wcte12xp
parentf33ececa1101a11c8be8081cc01d00443a0f6c03 (diff)
wcte12xp: Remove unnecessary usage of keyword volatile.
The buffers are not being accessed by the hardware at this point, and therefore do not need to be volatile. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6931 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcte12xp')
-rw-r--r--drivers/dahdi/wcte12xp/base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dahdi/wcte12xp/base.c b/drivers/dahdi/wcte12xp/base.c
index b10a2fb..0d6044b 100644
--- a/drivers/dahdi/wcte12xp/base.c
+++ b/drivers/dahdi/wcte12xp/base.c
@@ -145,7 +145,7 @@ static void resend_cmds(struct t1 *wc)
spin_unlock_irqrestore(&wc->cmd_list_lock, flags);
}
-static void cmd_dequeue(struct t1 *wc, volatile unsigned char *writechunk, int eframe, int slot)
+static void cmd_dequeue(struct t1 *wc, unsigned char *writechunk, int eframe, int slot)
{
struct command *curcmd=NULL;
u16 address;
@@ -188,7 +188,7 @@ static void cmd_dequeue(struct t1 *wc, volatile unsigned char *writechunk, int e
}
-static inline void cmd_decipher(struct t1 *wc, volatile unsigned char *readchunk)
+static inline void cmd_decipher(struct t1 *wc, unsigned char *readchunk)
{
struct command *cmd = NULL;
unsigned long flags;