From: Paul Gortmaker Date: Mon, 27 Feb 2012 02:36:29 +0000 (+0000) Subject: ucc_geth: separate out rx/tx ring alloc and free operations X-Git-Tag: v3.4-rc1~177^2~144 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e19a82c18f0e6360ee9fd431721794eb0036c0cd;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed