caif: move the dereference below the NULL test
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sun, 9 Sep 2012 18:38:27 +0000 (18:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Sep 2012 20:13:31 +0000 (16:13 -0400)
The dereference should be moved below the NULL test.

spatch with a semantic match is used to found this.
(http://coccinelle.lip6.fr/)

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found