OSDN Git Service

[media] media_entity: get rid of a unused var
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 11 Dec 2015 13:25:23 +0000 (11:25 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:19:05 +0000 (12:19 -0200)
commit58f69ee9da3a2486450dac626c352f69faf964e9
tree84564787d4a65a07b9b1511d7e77cf2fa77fa50e
parent5abad22fd1402c23da1f6ade8cec59ac07a28fc5
[media] media_entity: get rid of a unused var

> > > + if (rlink != link->reverse) {
> > > + r++;
> >
> > The variable is incremented here but otherwise never used, you can remove it.

Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/media-entity.c