]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] dib8000: store dtv_property_cache in a temp var
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Apr 2013 13:51:15 +0000 (10:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 25 Apr 2013 13:51:15 +0000 (10:51 -0300)
commitc82056d0b4ac7b805ac4e7d3870c42bb19e3b3d5
treed10c85e52e3a47effe3b9669c3f5b2cf6998a475
parent6f7ee06f4ec40d2bfc91ec67ee6e40e5fd2f2e59
[media] dib8000: store dtv_property_cache in a temp var

dtv_property_cache is used on several places on very long lines.

On all places it is used, a long list of struct reference is done.

Instead of doing it, at the routines where it is used more than once,
replace it by one temporary var. That may help the compiler to
use a better code. It also makes easier to review the code, as the
lines becomes closer to 80 columns, making them a way clearer
to read.

No functional changes.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-frontends/dib8000.c