Tag: 30badc9543490f41497c42f004db02f1e8a29341

GFS2: Deletion of unnecessary checks before two function calls

Author: Markus Elfring <elfring@users.sourceforge.net> The functions iput() and put_pid() test whether their argument is NULL and then return immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Steven Whitehouse — fs/gfs2/glock.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-) …

Continue reading