Re: [PATCH 12/39] dm: drop null test before destroy functions

2015-09-14 Thread Julia Lawall
On Mon, 14 Sep 2015, Mikulas Patocka wrote: > > > On Mon, 14 Sep 2015, Mike Snitzer wrote: > > > On Mon, Sep 14 2015 at 9:46am -0400, > > Mikulas Patocka wrote: > > > > > > > > > > > On Sun, 13 Sep 2015, Julia Lawall wrote: > > > > > > > Remove unneeded NULL test. > > > > > > > > The s

Re: [PATCH 12/39] dm: drop null test before destroy functions

2015-09-14 Thread Mike Snitzer
On Mon, Sep 14 2015 at 9:46am -0400, Mikulas Patocka wrote: > > > On Sun, 13 Sep 2015, Julia Lawall wrote: > > > Remove unneeded NULL test. > > > > The semantic patch that makes this change is as follows: > > (http://coccinelle.lip6.fr/) > > > > // > > @@ expression x; @@ > > -if (x != NUL

Re: [PATCH 12/39] dm: drop null test before destroy functions

2015-09-14 Thread Mikulas Patocka
On Mon, 14 Sep 2015, Mike Snitzer wrote: > On Mon, Sep 14 2015 at 9:46am -0400, > Mikulas Patocka wrote: > > > > > > > On Sun, 13 Sep 2015, Julia Lawall wrote: > > > > > Remove unneeded NULL test. > > > > > > The semantic patch that makes this change is as follows: > > > (http://coccinell