drm/ast: Remove superfluous drm_connector_unregister() call
Subsystems (3)
PATCH 1/1 drm/ast: Remove superfluous drm_connector_unregister() call
At destroying the connector, we need no longer to call drm_connector_unregister() explicitly, as drm_dev_unregister() unregisters all connectors too. Keeping it may cause a confusion by a brainless copy-and-paste to other drivers, so let's rip it off now.
Suggested-by Daniel Vetter <[email protected]>
Signed-off-by Takashi Iwai <[email protected]>
--- drivers/gpu/drm/ast/ast_mode.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/ast/ast_mode.c +0 -1
@@ -857,7 +857,6 @@ static void ast_connector_destroy(struct drm_connector *connector) {struct ast_connector *ast_connector =to_ast_connector (connector);ast_i2c_destroy (ast_connector->i2c); -drm_connector_unregister (connector);drm_connector_cleanup (connector);kfree (connector); }
Signature · 6 lines
2.14.0.rc0.11.gf79966288497.dirty _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel