[svn-commits] sruffell: linux/trunk r6931 - /linux/trunk/drivers/dahdi/wcte12xp/base.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Aug 4 11:22:36 CDT 2009


Author: sruffell
Date: Tue Aug  4 11:22:32 2009
New Revision: 6931

URL: http://svn.asterisk.org/svn-view/dahdi?view=rev&rev=6931
Log:
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.

Modified:
    linux/trunk/drivers/dahdi/wcte12xp/base.c

Modified: linux/trunk/drivers/dahdi/wcte12xp/base.c
URL: http://svn.asterisk.org/svn-view/dahdi/linux/trunk/drivers/dahdi/wcte12xp/base.c?view=diff&rev=6931&r1=6930&r2=6931
==============================================================================
--- linux/trunk/drivers/dahdi/wcte12xp/base.c (original)
+++ linux/trunk/drivers/dahdi/wcte12xp/base.c Tue Aug  4 11:22:32 2009
@@ -145,7 +145,7 @@
 	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 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;




More information about the svn-commits mailing list