Messages in this thread | | | From | Andreas Grünbacher <> | Date | Tue, 3 Sep 2019 15:59:32 +0200 | Subject | Re: [PATCH] gfs2: Delete an unnecessary check before brelse() |
| |
Am Di., 3. Sept. 2019 um 15:21 Uhr schrieb Markus Elfring <Markus.Elfring@web.de>: > From: Markus Elfring <elfring@users.sourceforge.net> > Date: Tue, 3 Sep 2019 15:10:05 +0200 > > The brelse() function tests whether its argument is NULL > and then returns immediately. > Thus the test around the call is not needed. > > This issue was detected by using the Coccinelle software.
Thanks. The same applies to brelse() in gfs2_dir_no_add (which Coccinelle apparently missed), so let me fix that as well.
Andreas
| |