[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOgR63cAKKEXJbz+OwpP-WHtuoPSg12qj72NV9WmOgA7tPQoRA@mail.gmail.com>
Date: Wed, 11 Feb 2015 12:49:26 +0100
From: Bas Peters <baspeters93@...il.com>
To: SF Markus Elfring <elfring@...rs.sourceforge.net>
Cc: Chris Mason <clm@...com>, David Sterba <dsterba@...e.cz>,
Josef Bacik <jbacik@...com>, linux-btrfs@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
Julia Lawall <julia.lawall@...6.fr>
Subject: Re: [PATCH] fs: btrfs: free-space-cache.c: remove two unnecessary
checks before calling kfree()
2015-02-11 12:30 GMT+01:00 SF Markus Elfring <elfring@...rs.sourceforge.net>:
>> kfree checks whether the pointer it is passed is NULL. The two foregoing
>> checks are therefore unnecessary.
>>
>> This issue was detected using Coccinelle.
>
> Would you like to integrate my update suggestion "btrfs: Deletion of
> unnecessary checks before six function calls"?
> https://lkml.org/lkml/2014/10/31/606
> http://article.gmane.org/gmane.linux.kernel/1818924
> https://systeme.lip6.fr/pipermail/cocci/2014-October/001321.html
Oh, I see you already made the exact same change.
I'll just drop my patch in that case.
>
> Regards,
> Markus
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists