net: ethernet: ti: remove redundant NULL check.
authorCyril Roelandt <tipecaml@gmail.com>
Tue, 12 Feb 2013 12:52:30 +0000 (12:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Feb 2013 18:41:44 +0000 (13:41 -0500)
commit79876e0394aa46e74267a5871c4f4469544dcacf
tree37ca7e70270fde1790243b149e539665964b7d62
parentc9af6db4c11ccc6c3e7f19bbc15d54023956f97c
net: ethernet: ti: remove redundant NULL check.

cpdma_chan_destroy() on a NULL pointer is a no-op, so the NULL check in
cpdma_ctlr_destroy() can safely be removed.

Signed-off-by: Cyril Roelandt <tipecaml@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_cpdma.c