]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: cdma: Drop unnecessary local variable
authorThierry Reding <treding@nvidia.com>
Thu, 23 Jun 2016 09:21:51 +0000 (11:21 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 23 Jun 2016 09:59:27 +0000 (11:59 +0200)
commitb28d21ca4d460a370793278cecc6931616721a74
treecd82dc96c210ef0f2b83aec231851ae00b6c3515
parent1567159a02b8909a212b4d47e010590ff246752a
gpu: host1x: cdma: Drop unnecessary local variable

The local 'pos' variable doesn't serve any purpose other than being a
shortcut for pb->pos, but the result doesn't remove much, so simply drop
the local variable.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/cdma.c