commit | 4b596bd70a396dfeb55f38b6bd1c21b8e77ebe77 | [log] [tgz] |
---|---|---|
author | Daniel Scheller <d.scheller@gmx.net> | Tue Dec 26 18:37:56 2017 -0500 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Wed Jan 03 04:45:45 2018 -0500 |
tree | ee82c28e583c50ce89f4a1d87f87836c9ea04535 | |
parent | 3bdf481e39ff1d36c1f2e1b3862db2ac329b12cd [diff] |
media: dvb-frontends/stv0910: deduplicate writes in enable_puncture_rate() For all code rates, the same write is performed, only with a differing value. Clean this up by putting that value into a variable instead and perform the write at the end with that value. Picked up from the dddvb upstream. Cc: Ralph Metzler <rjkm@metzlerbros.de> Signed-off-by: Daniel Scheller <d.scheller@gmx.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>