diff options
| author | 2015-07-14 09:35:42 +0200 | |
|---|---|---|
| committer | 2015-07-14 14:31:33 -0700 | |
| commit | a5cb88804d51b9d272d1d15ea348a244ba4d26c3 (patch) | |
| tree | b3fd9ce04c8578941cbd61a3e352f122d7af4de9 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | staging: lustre: fix whitespace coding style issues in libcfs/module.c (diff) | |
staging: lustre: Deletion of unnecessary checks before three function calls
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 Lawall
https://lkml.org/lkml/2015/5/1/498
https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg878600.html
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
