Commit d008b3d2 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller

mISDN: Fix indenting in dsp_cmx.c

We used a script to indent this code back in 2012, but I guess it got
confused by the ifdefs and added some extra tabs.  This patch removes
them.
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 40a1578d
...@@ -1851,14 +1851,14 @@ dsp_cmx_send(void *arg) ...@@ -1851,14 +1851,14 @@ dsp_cmx_send(void *arg)
/* unlock */ /* unlock */
spin_unlock_irqrestore(&dsp_lock, flags); spin_unlock_irqrestore(&dsp_lock, flags);
} }
/* /*
* audio data is transmitted from upper layer to the dsp * audio data is transmitted from upper layer to the dsp
*/ */
void void
dsp_cmx_transmit(struct dsp *dsp, struct sk_buff *skb) dsp_cmx_transmit(struct dsp *dsp, struct sk_buff *skb)
{ {
u_int w, ww; u_int w, ww;
u8 *d, *p; u8 *d, *p;
int space; /* todo: , l = skb->len; */ int space; /* todo: , l = skb->len; */
...@@ -1884,7 +1884,6 @@ dsp_cmx_send(void *arg) ...@@ -1884,7 +1884,6 @@ dsp_cmx_send(void *arg)
/* write until all byte are copied */ /* write until all byte are copied */
ww = (w + skb->len) & CMX_BUFF_MASK; ww = (w + skb->len) & CMX_BUFF_MASK;
dsp->tx_W = ww; dsp->tx_W = ww;
/* show current buffer */ /* show current buffer */
#ifdef CMX_DEBUG #ifdef CMX_DEBUG
printk(KERN_DEBUG printk(KERN_DEBUG
...@@ -1908,14 +1907,14 @@ dsp_cmx_send(void *arg) ...@@ -1908,14 +1907,14 @@ dsp_cmx_send(void *arg)
printk(KERN_DEBUG "%s\n", debugbuf); printk(KERN_DEBUG "%s\n", debugbuf);
#endif #endif
} }
/* /*
* hdlc data is received from card and sent to all members. * hdlc data is received from card and sent to all members.
*/ */
void void
dsp_cmx_hdlc(struct dsp *dsp, struct sk_buff *skb) dsp_cmx_hdlc(struct dsp *dsp, struct sk_buff *skb)
{ {
struct sk_buff *nskb = NULL; struct sk_buff *nskb = NULL;
struct dsp_conf_member *member; struct dsp_conf_member *member;
struct mISDNhead *hh; struct mISDNhead *hh;
...@@ -1958,4 +1957,4 @@ dsp_cmx_send(void *arg) ...@@ -1958,4 +1957,4 @@ dsp_cmx_send(void *arg)
} }
} }
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment