gpu: pvr: pdump: clean up logic across pdump.c
authorLuc Verhaegen <libv@codethink.co.uk>
Fri, 11 Mar 2011 14:02:37 +0000 (15:02 +0100)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:43:03 +0000 (21:43 +0300)
commitf4ab59460f0e9f7e2393b4f6b43aa77a9d45391e
treea4f114658d46f7e13b1ddb107c359b3c7b56dc90
parentcf0141091f5264c82d7531a8880d0830991ca294
gpu: pvr: pdump: clean up logic across pdump.c

This patch is the least obvious of the set. It removes useless
variables, superfluous calculations, cleans up loops, and makes a few
functions wrap others instead of copying them.

Should be no functional change, but as said, very non-obvious.

Signed-off-by: Luc Verhaegen <libv@codethink.co.uk>
Signed-off-by: Imre Deak <imre.deak@nokia.com>
pvr/pdump.c