/* Remove @mode from @connector's mode list, then free it.  */
void drm_mode_remove(struct drm_connector *connector, struct drm_display_mode *mode)
/* Remove @mode from @connector's mode list, then free it.  */
void drm_mode_remove(struct drm_connector *connector, struct drm_display_mode *mode)
{
	list_del(&mode->head);
	kfree(mode);
}