diff options
Diffstat (limited to 'drivers/net/stmmac/norm_desc.c')
-rw-r--r-- | drivers/net/stmmac/norm_desc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/stmmac/norm_desc.c b/drivers/net/stmmac/norm_desc.c index ecfcc001a04a..31ad53643792 100644 --- a/drivers/net/stmmac/norm_desc.c +++ b/drivers/net/stmmac/norm_desc.c | |||
@@ -132,7 +132,6 @@ static void ndesc_init_rx_desc(struct dma_desc *p, unsigned int ring_size, | |||
132 | p->des01.rx.disable_ic = 1; | 132 | p->des01.rx.disable_ic = 1; |
133 | p++; | 133 | p++; |
134 | } | 134 | } |
135 | return; | ||
136 | } | 135 | } |
137 | 136 | ||
138 | static void ndesc_init_tx_desc(struct dma_desc *p, unsigned int ring_size) | 137 | static void ndesc_init_tx_desc(struct dma_desc *p, unsigned int ring_size) |
@@ -144,7 +143,6 @@ static void ndesc_init_tx_desc(struct dma_desc *p, unsigned int ring_size) | |||
144 | p->des01.tx.end_ring = 1; | 143 | p->des01.tx.end_ring = 1; |
145 | p++; | 144 | p++; |
146 | } | 145 | } |
147 | return; | ||
148 | } | 146 | } |
149 | 147 | ||
150 | static int ndesc_get_tx_owner(struct dma_desc *p) | 148 | static int ndesc_get_tx_owner(struct dma_desc *p) |
@@ -194,8 +192,6 @@ static void ndesc_release_tx_desc(struct dma_desc *p) | |||
194 | 192 | ||
195 | /* set termination field */ | 193 | /* set termination field */ |
196 | p->des01.tx.end_ring = ter; | 194 | p->des01.tx.end_ring = ter; |
197 | |||
198 | return; | ||
199 | } | 195 | } |
200 | 196 | ||
201 | static void ndesc_prepare_tx_desc(struct dma_desc *p, int is_fs, int len, | 197 | static void ndesc_prepare_tx_desc(struct dma_desc *p, int is_fs, int len, |