diff options
author | Jason Yan <[email protected]> | 2020-04-29 22:10:10 +0800 |
---|---|---|
committer | Thomas Zimmermann <[email protected]> | 2020-04-30 10:41:05 +0200 |
commit | ef54569966f7b3090a6f1e4bd61db7f2ff2a62f9 (patch) | |
tree | 6f05e9f1070728d80e3e98e03dd8257c0e8ced9c /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 78b0d99a68ecdc84728c99f4fef71942e9ecf35a (diff) |
drm/ast: remove duplicate assignment of ast_crtc_funcs member
The struct member 'set_config' was assigned twice:
static const struct drm_crtc_funcs ast_crtc_funcs = {
.reset = ast_crtc_reset,
.set_config = drm_crtc_helper_set_config,
......
.set_config = drm_atomic_helper_set_config,
......
};
Since the second one is which we use now in fact, we can remove the
first one.
This fixes the following coccicheck warning:
drivers/gpu/drm/ast/ast_mode.c:932:50-51: set_config: first occurrence
line 934, second occurrence line 937
Signed-off-by: Jason Yan <[email protected]>
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Thomas Zimmermann <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions