[media] drx-j: don't use mc_info before checking if its not NULL
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 9 Mar 2014 13:10:19 +0000 (10:10 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 11 Mar 2014 10:37:15 +0000 (07:37 -0300)
commit1d001c3fde34992bd3607ad57221655cbfc74068
treeca18543510a89e6db34347fcb81ccef29d85c49c
parentd1f2aae3d91ba107b68540aad7fbf188b734b566
[media] drx-j: don't use mc_info before checking if its not NULL

smatch warning:
drivers/media/dvb-frontends/drx39xyj/drxj.c:20803 drx_ctrl_u_code() warn: variable dereferenced before check 'mc_info' (see line 20800)

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/drx39xyj/drxj.c