diff options
author | Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> | 2015-11-04 00:55:13 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-04 20:59:07 -0500 |
commit | 8e03a5e75c517de19c26a46147b0dc28096e55ef (patch) | |
tree | bb687f1e9752abc18c940e2394519dd3b1542ef6 /net/ipv4 | |
parent | 91d80683fc1828141e87babbd01f40e408864914 (diff) |
sh_eth: merge sh_eth_free_dma_buffer() into sh_eth_ring_free()
While the ring allocation is done by a single function, sh_eth_ring_init(),
the ring deallocation was split into two functions (almost always called
one after the other) for no good reason. Merge sh_eth_free_dma_buffer()
into sh_eth_ring_free() which allows us to save space not only on the
direct calls of the former function but also on the sh_eth_ring_init()'s
simplified error path...
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions