]> git.baikalelectronics.ru Git - kernel.git/commit
media: dvb-frontends/stv0910: remove unneeded check/call to get_if_freq
authorDaniel Scheller <d.scheller@gmx.net>
Sun, 26 Nov 2017 13:00:06 +0000 (08:00 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 13 Dec 2017 13:36:31 +0000 (08:36 -0500)
commit2cad48a0fb07cf5e6c5853e4b43e2a91da7f9033
tree89c6c345979aff7eff22b828dc193ecb2eaa0d78
parentd0add6fdc6b952fb311c389b1f2ccbda2f7b3e8e
media: dvb-frontends/stv0910: remove unneeded check/call to get_if_freq

The result (if any) isn't used anywhere besides being assigned to a local
variable (and the only current companion stv6111 doesn't even implement
get_if_frequency()), thus remove the ptr check and the call, and also
remove the now unused iffreq variable.

Reported-by: Richard Scobie <rascobie@slingshot.co.nz>
Cc: Ralph Metzler <rjkm@metzlerbros.de>
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Tested-by: Richard Scobie <rascobie@slingshot.co.nz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/stv0910.c