On 17/05/14 09:32, Julia Lawall wrote: > From: Julia Lawall <Julia.Lawall@xxxxxxx> > > Platform_get_drvdata is an accessor function, and has no purpose if its > result is not used. > > The semantic patch that fixes this problem is as follows: > (http://coccinelle.lip6.fr/) > > // <smpl> > @@ > identifier x; > type T; > @@ > - T x = platform_get_drvdata(...); > ... when != x > // </smpl> > > Signed-off-by: Julia Lawall <Julia.Lawall@xxxxxxx> > > --- > drivers/video/fbdev/bf54x-lq043fb.c | 2 -- > 1 file changed, 2 deletions(-) Thanks, queued for 3.16. Tomi
Attachment:
signature.asc
Description: OpenPGP digital signature