diff options
author | Thierry Reding <treding@nvidia.com> | 2018-03-23 08:31:24 -0400 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2018-05-18 15:50:40 -0400 |
commit | d4ad3ad9b81b73f568227563988b67708291900b (patch) | |
tree | ae57a11a3b2e672a345741df478700423eb85a15 /drivers/gpu/host1x/debug.c | |
parent | bf3d41ccabb53c57e19fcfc8b81d790043ac2bed (diff) |
gpu: host1x: Cleanup loop variable usage
Use unsigned int where possible and don't unnecessarily initialize the
loop variable.
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/debug.c')
-rw-r--r-- | drivers/gpu/host1x/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/debug.c b/drivers/gpu/host1x/debug.c index dc77ec452ffc..329e4a3d8ae7 100644 --- a/drivers/gpu/host1x/debug.c +++ b/drivers/gpu/host1x/debug.c | |||
@@ -103,7 +103,7 @@ static void show_syncpts(struct host1x *m, struct output *o) | |||
103 | 103 | ||
104 | static void show_all(struct host1x *m, struct output *o, bool show_fifo) | 104 | static void show_all(struct host1x *m, struct output *o, bool show_fifo) |
105 | { | 105 | { |
106 | int i; | 106 | unsigned int i; |
107 | 107 | ||
108 | host1x_hw_show_mlocks(m, o); | 108 | host1x_hw_show_mlocks(m, o); |
109 | show_syncpts(m, o); | 109 | show_syncpts(m, o); |