summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/atmel_cs.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2012-02-27 02:36:29 +0000
committerDavid S. Miller <davem@davemloft.net>2012-03-04 20:54:01 -0500
commite19a82c18f0e6360ee9fd431721794eb0036c0cd (patch)
tree563c8e2c3490b151bdbab03be25c92e3201915a6 /drivers/net/wireless/atmel_cs.c
parent4b32da2bcf1de2b7a196a0e48389d231b4472c36 (diff)
downloadblackbird-op-linux-e19a82c18f0e6360ee9fd431721794eb0036c0cd.tar.gz
blackbird-op-linux-e19a82c18f0e6360ee9fd431721794eb0036c0cd.zip
ucc_geth: separate out rx/tx ring alloc and free operations
Factor out the the existing allocation and free operations so that they can be used individually. This is to improve code readability, and also to prepare for possible future changes like better error recovery and more dynamic configuration (e.g on-the-fly resizing of the rings). This change represents a straight up relocation of the existing code into separate routines without changing any of the contained code itself. Local variables are relocated as necessary. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/atmel_cs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud