commit | 1e5ec31a462f6d02aba57dbdb9119478943fc2e8 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | Sun Mar 09 10:33:54 2014 -0300 |
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | Tue Mar 11 07:37:17 2014 -0300 |
tree | 920e8870fa45cffe9f1586788027e691ec70735e | |
parent | 01473146394f28735778aefaf9faae109d6ee5f2 [diff] |
[media] drx-j: Fix usage of drxj_close() This function is currently not used. However, it was meant to be called at device release. So, add it there. While here, remove the bad check, as reported by Dan, as smatch warning: drivers/media/dvb-frontends/drx39xyj/drxj.c:20041 drxj_close() warn: variable dereferenced before check 'demod' (see line 20036) Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>