diff options
| author | Chen-Yu Tsai <wens@csie.org> | 2017-02-17 11:13:28 +0800 |
|---|---|---|
| committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2017-03-07 22:15:15 +0100 |
| commit | 8a16469b74af0fb584686e5e18d2cf3570424e4b (patch) | |
| tree | 22c5ce8702455fa40e5b40d86bce922e36e4c7a1 /tools/perf/scripts/python | |
| parent | drm/sun4i: Fix kcalloc element size in sun4i_layers_init (diff) | |
| download | linux-8a16469b74af0fb584686e5e18d2cf3570424e4b.tar.gz linux-8a16469b74af0fb584686e5e18d2cf3570424e4b.zip | |
drm/sun4i: Drop useless assignment in sun4i_layers_init
The assignment found in the main loop in sun4i_layers_init:
struct sun4i_layer *layer = layers[i];
is useless as it gets overwritten by the next line:
layer = sun4i_layer_init_one(drm, plane);
Drop the assignment.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
