[PATCH 1/2] drm/omap: dsi: Remove unused variable

Thierry Reding thierry.reding at gmail.com
Tue Jun 21 14:01:38 UTC 2016


On Tue, Jun 21, 2016 at 05:00:15PM +0300, Tomi Valkeinen wrote:
> Hi Thierry,
> 
> On 21/06/16 16:56, Thierry Reding wrote:
> > From: Thierry Reding <treding at nvidia.com>
> > 
> > Commit 973999aa0140 ("drm/omap: Remove regulator API abuse") removed the
> > only user of the local 'r' variable, which thus became unused.
> > 
> > Signed-off-by: Thierry Reding <treding at nvidia.com>
> > ---
> >  drivers/gpu/drm/omapdrm/dss/dsi.c | 1 -
> >  1 file changed, 1 deletion(-)
> > 
> > diff --git a/drivers/gpu/drm/omapdrm/dss/dsi.c b/drivers/gpu/drm/omapdrm/dss/dsi.c
> > index 6f45e9d00b41..e1be5e795cd8 100644
> > --- a/drivers/gpu/drm/omapdrm/dss/dsi.c
> > +++ b/drivers/gpu/drm/omapdrm/dss/dsi.c
> > @@ -1167,7 +1167,6 @@ static int dsi_regulator_init(struct platform_device *dsidev)
> >  {
> >  	struct dsi_data *dsi = dsi_get_dsidrv_data(dsidev);
> >  	struct regulator *vdds_dsi;
> > -	int r;
> >  
> >  	if (dsi->vdds_dsi_reg != NULL)
> >  		return 0;
> > 
> 
> Thanks, but there's already 85332739628fe4beafecdb713438c7cb1454c2f5
> ("drm/omap: fix unused variable warning in dsi & hdmi") in the mainline
> (-rc3).

Bah... that's what I get for not generating patches against linux-next.
Thanks for letting me know.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20160621/78fda562/attachment.sig>


More information about the dri-devel mailing list