net: cpsw: check for cpts pointer after its allocation
authorSebastian Siewior <bigeasy@linutronix.de>
Mon, 17 Jun 2013 17:31:52 +0000 (19:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Jun 2013 23:26:07 +0000 (16:26 -0700)
after priv->cpts got allocated then this pointer should check to determine
if the allocation succeeded or not.

Cc: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found