cxgb3: avoid potential memory leak.
authorDivy Le Ray <divy@chelsio.com>
Wed, 26 Nov 2008 23:35:59 +0000 (15:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Nov 2008 23:35:59 +0000 (15:35 -0800)
Add consistency in alloc_ring() parameter checking
to avoid potential memory leaks.
alloc_ring() callers are correct fo far.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found