diff options
author | Giuseppe CAVALLARO <peppe.cavallaro@st.com> | 2013-04-07 22:10:01 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-08 16:55:27 -0400 |
commit | ceb694997e1b5d45627553ac7b1f88ff16cb9507 (patch) | |
tree | 3ecfaa81fef92cee3b7665f2dc5ea996d4342162 /drivers/net/ethernet/stmicro/stmmac/descs_com.h | |
parent | 32ceabcad3c8abd46de033778497c2e77a097554 (diff) |
stmmac: code tidy-up
This patch tidies up the code. I have run Linden (and verified with checkpatch)
many part of the driver trying to reorganize some sections respecting the
codying-style rules in the points where it was not done.
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/descs_com.h')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/descs_com.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/descs_com.h b/drivers/net/ethernet/stmicro/stmmac/descs_com.h index 20f83fc9cf13..6f2cc78c5cf5 100644 --- a/drivers/net/ethernet/stmicro/stmmac/descs_com.h +++ b/drivers/net/ethernet/stmicro/stmmac/descs_com.h | |||
@@ -117,8 +117,7 @@ static inline void ndesc_rx_set_on_chain(struct dma_desc *p, int end) | |||
117 | p->des01.rx.second_address_chained = 1; | 117 | p->des01.rx.second_address_chained = 1; |
118 | } | 118 | } |
119 | 119 | ||
120 | static inline void ndesc_tx_set_on_chain(struct dma_desc *p, int | 120 | static inline void ndesc_tx_set_on_chain(struct dma_desc *p, int ring_size) |
121 | ring_size) | ||
122 | { | 121 | { |
123 | p->des01.tx.second_address_chained = 1; | 122 | p->des01.tx.second_address_chained = 1; |
124 | } | 123 | } |