[media] mantis: cleanup NULL checking in mantis_ca_exit()
authorDan Carpenter <dan.carpenter@oracle.com>
Sun, 2 Dec 2012 09:43:13 +0000 (06:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 27 Dec 2012 22:25:38 +0000 (20:25 -0200)
Smatch complainst that the call to mantis_evmgr_exit() dereferences "ca"
but then we check it for NULL on the next line.  I've moved the NULL
check forward to avoid that.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found