gpu: host1x: Remove useless local variable
authorThierry Reding <treding@nvidia.com>
Thu, 23 Jun 2016 09:39:11 +0000 (11:39 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 23 Jun 2016 09:59:33 +0000 (11:59 +0200)
commit4b92e2948f8fb2bc2182a2e74703bf0cee777753
tree87658a8b581a808c271de1a1c18f81658242396d
parent9f2e57cada0483c1d564053a254d6004cddf1c31
gpu: host1x: Remove useless local variable

The local 'val' variable is used to store a value and immediately return
it to its caller, and hence serves no purpose. Just drop it and directly
return the value.

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