On Fri, Sep 01, 2017 at 07:53:27PM +0300, ville.syrjala@xxxxxxxxxxxxxxx wrote: > From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > > drm_get_link_status_name() isn't used so kill it. > > Fixes the following sparse warning: > drm_connector.c:618:1: warning: symbol 'drm_get_link_status_name' was not declared. Should it be static? > Thanks for catching this warning. Verified that this fixes the warning and hence drm_get_link_status_name not needed. Reviewed-by: Manasi Navare <manasi.d.navare@xxxxxxxxx> Manasi > Cc: Manasi Navare <manasi.d.navare@xxxxxxxxx> > Fixes: 40ee6fbef75f ("drm: Add a new connector atomic property for link status") > Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > --- > drivers/gpu/drm/drm_connector.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c > index ba9f36cef68c..bb2e60f5feb6 100644 > --- a/drivers/gpu/drm/drm_connector.c > +++ b/drivers/gpu/drm/drm_connector.c > @@ -615,7 +615,6 @@ static const struct drm_prop_enum_list drm_link_status_enum_list[] = { > { DRM_MODE_LINK_STATUS_GOOD, "Good" }, > { DRM_MODE_LINK_STATUS_BAD, "Bad" }, > }; > -DRM_ENUM_NAME_FN(drm_get_link_status_name, drm_link_status_enum_list) > > /** > * drm_display_info_set_bus_formats - set the supported bus formats > -- > 2.13.5 > > _______________________________________________ > dri-devel mailing list > dri-devel@xxxxxxxxxxxxxxxxxxxxx > https://lists.freedesktop.org/mailman/listinfo/dri-devel _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel