[media] r820t: remove redundant initializations in r820t_attach()
authorGianluca Gennari <gennarone@gmail.com>
Sun, 2 Jun 2013 17:30:09 +0000 (14:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 Jun 2013 14:07:18 +0000 (11:07 -0300)
commite2e324d70defce7ffc4668085dc3c8ae580074e5
tree006d720273127a08df712a25534441176af87122
parentc2efd3e6e04942aa8206ca26c855eabf67cfdbc0
[media] r820t: remove redundant initializations in r820t_attach()

fe->tuner_priv and fe->ops.tuner_ops are initialized twice in r820t_attach().
Remove the redundant initializations and also move fe->ops.tuner_ops
initialization outside of the mutex lock (as in the xc4000 tuner code for example).

Signed-off-by: Gianluca Gennari <gennarone@gmail.com>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/tuners/r820t.c