atl1: zero out CMB and SBM in atl1_free_ring_resources
authorLuca Tettamanti <kronos.it@gmail.com>
Wed, 22 Sep 2010 10:42:31 +0000 (10:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Sep 2010 20:52:45 +0000 (13:52 -0700)
commit3f5a2a713aad28480d86b0add00c68484b54febc
tree1f1642ae02c7e3db0f45e3917b01ee91624be640
parentec5a32f67c603b11d68eb283d94eb89a4f6cfce1
atl1: zero out CMB and SBM in atl1_free_ring_resources

They are allocated in atl1_setup_ring_resources, zero out the pointers
in atl1_free_ring_resources (like the other resources).

Signed-off-by: Luca Tettamanti <kronos.it@gmail.com>
Acked-by: Chris Snook <chris.snook@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/atlx/atl1.c