Tag: a5cb88804d51b9d272d1d15ea348a244ba4d26c3

staging: lustre: Deletion of unnecessary checks before three function calls

Author: Markus Elfring <elfring@users.sourceforge.net> The following functions test whether their argument is NULL and then return immediately. * kfree * ll_file_data_put * ptlrpc_connection_put Thus the test around such calls is not needed. This issue was detected by using the Coccinelle software. See also a previous update suggestion: “remove unneeded null test before free” by Julia …

Continue reading