[media] dib8000: move dereference after check for NULL
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 20 Jul 2012 10:11:57 +0000 (07:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 31 Jul 2012 02:16:45 +0000 (23:16 -0300)
My static checker complains that we dereference "state" inside the call
to fft_to_mode() before checking for NULL.  The comments say that it is
possible for "state" to be NULL so I have moved the dereference after
the check.

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

No differences found