watchdog: move the dereference below the NULL test
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 10 Sep 2012 04:41:15 +0000 (12:41 +0800)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 10 Sep 2012 15:33:17 +0000 (17:33 +0200)
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: Wim Van Sebroeck <wim@iguana.be>

No differences found