bgmac: separate RX descriptor setup code into a new function
authorRafał Miłecki <zajec5@gmail.com>
Mon, 28 Oct 2013 13:40:29 +0000 (14:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Oct 2013 21:20:36 +0000 (17:20 -0400)
commitd549c76bccc5405b0c8f5412730f043daab8d29e
tree654bd8b842bd975269cbd83f495315e0da46838f
parentcdfb97bc010d9e9d994eb68f2cbac3a8ada26104
bgmac: separate RX descriptor setup code into a new function

This cleans code a bit and will be useful when allocating buffers in
other places (like RX path, to avoid skb_copy_from_linear_data_offset).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bgmac.c