[svn-commits] sruffell: linux/trunk r7094 - /linux/trunk/drivers/dahdi/wctdm24xxp/base.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Sep 7 16:40:21 CDT 2009
Author: sruffell
Date: Mon Sep 7 16:40:19 2009
New Revision: 7094
URL: http://svn.asterisk.org/svn-view/dahdi?view=rev&rev=7094
Log:
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.
Modified:
linux/trunk/drivers/dahdi/wctdm24xxp/base.c
Modified: linux/trunk/drivers/dahdi/wctdm24xxp/base.c
URL: http://svn.asterisk.org/svn-view/dahdi/linux/trunk/drivers/dahdi/wctdm24xxp/base.c?view=diff&rev=7094&r1=7093&r2=7094
==============================================================================
--- linux/trunk/drivers/dahdi/wctdm24xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wctdm24xxp/base.c Mon Sep 7 16:40:19 2009
@@ -461,7 +461,7 @@
}
-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 @@
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 @@
#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;
More information about the svn-commits
mailing list