Re: [PATCH 4/4] staging: tidspbridge: delete useless variable

2014-01-13 Thread Dan Carpenter
On Mon, Jan 13, 2014 at 05:17:27PM +0100, Julia Lawall wrote: > From: Julia Lawall > > The variable status is initialized to either 0 or an error code. Return > status to propagate the error value. > Could you update the subject to say that the patch was a bugfix. regards, dan carpenter

[PATCH 4/4] staging: tidspbridge: delete useless variable

2014-01-13 Thread Julia Lawall
From: Julia Lawall The variable status is initialized to either 0 or an error code. Return status to propagate the error value. A simplified version of the semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ type T; identifier i; constant c; @@ -T i; <...