diff options
Diffstat (limited to 'drivers/net/stmmac/enh_desc.c')
-rw-r--r-- | drivers/net/stmmac/enh_desc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/stmmac/enh_desc.c b/drivers/net/stmmac/enh_desc.c index eb5684a1f713..3c18ebece043 100644 --- a/drivers/net/stmmac/enh_desc.c +++ b/drivers/net/stmmac/enh_desc.c | |||
@@ -241,7 +241,6 @@ static void enh_desc_init_rx_desc(struct dma_desc *p, unsigned int ring_size, | |||
241 | p->des01.erx.disable_ic = 1; | 241 | p->des01.erx.disable_ic = 1; |
242 | p++; | 242 | p++; |
243 | } | 243 | } |
244 | return; | ||
245 | } | 244 | } |
246 | 245 | ||
247 | static void enh_desc_init_tx_desc(struct dma_desc *p, unsigned int ring_size) | 246 | static void enh_desc_init_tx_desc(struct dma_desc *p, unsigned int ring_size) |
@@ -254,8 +253,6 @@ static void enh_desc_init_tx_desc(struct dma_desc *p, unsigned int ring_size) | |||
254 | p->des01.etx.end_ring = 1; | 253 | p->des01.etx.end_ring = 1; |
255 | p++; | 254 | p++; |
256 | } | 255 | } |
257 | |||
258 | return; | ||
259 | } | 256 | } |
260 | 257 | ||
261 | static int enh_desc_get_tx_owner(struct dma_desc *p) | 258 | static int enh_desc_get_tx_owner(struct dma_desc *p) |
@@ -289,8 +286,6 @@ static void enh_desc_release_tx_desc(struct dma_desc *p) | |||
289 | 286 | ||
290 | memset(p, 0, sizeof(struct dma_desc)); | 287 | memset(p, 0, sizeof(struct dma_desc)); |
291 | p->des01.etx.end_ring = ter; | 288 | p->des01.etx.end_ring = ter; |
292 | |||
293 | return; | ||
294 | } | 289 | } |
295 | 290 | ||
296 | static void enh_desc_prepare_tx_desc(struct dma_desc *p, int is_fs, int len, | 291 | static void enh_desc_prepare_tx_desc(struct dma_desc *p, int is_fs, int len, |