ll_temac: fix DMA resources leak

V2: Check pointers before releasing resources.

Fix DMA resources leak.
Signed-off-by: Denis Kirjanov <dkirjanov@kernel.org>
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
This commit is contained in:
Denis Kirjanov 2010-07-08 10:24:51 +00:00 • committed by David S. Miller
commit 301e9d96bf