summaryrefslogtreecommitdiff
path: root/drivers/pci/quirks.c
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2012-02-27 02:36:29 (GMT)
committerDavid S. Miller <davem@davemloft.net>2012-03-05 01:54:01 (GMT)
commite19a82c18f0e6360ee9fd431721794eb0036c0cd (patch)
tree563c8e2c3490b151bdbab03be25c92e3201915a6 /drivers/pci/quirks.c
parent4b32da2bcf1de2b7a196a0e48389d231b4472c36 (diff)
downloadlinux-e19a82c18f0e6360ee9fd431721794eb0036c0cd.tar.xz
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/pci/quirks.c')
0 files changed, 0 insertions, 0 deletions