diff options
author | Daniel Scheller <d.scheller@gmx.net> | 2017-12-26 18:37:56 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-01-03 04:45:45 -0500 |
commit | 4b596bd70a396dfeb55f38b6bd1c21b8e77ebe77 (patch) | |
tree | ee82c28e583c50ce89f4a1d87f87836c9ea04535 /drivers/vfio | |
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>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions