diff options
author | 2016-02-22 22:13:39 +0530 | |
---|---|---|
committer | 2016-03-11 22:09:09 -0800 | |
commit | d34491679d7c583a1d3bddfc1d8a7b2f72dd2ad7 (patch) | |
tree | d758f4e786c4d28e5b9bc90d16620d58efe9ef5b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | staging: rdma: hfi1: Use setup_timer (diff) | |
download | linux-dev-d34491679d7c583a1d3bddfc1d8a7b2f72dd2ad7.tar.xz linux-dev-d34491679d7c583a1d3bddfc1d8a7b2f72dd2ad7.zip |
staging: rdma: hfi1: Remove unnecessary kfree
Remove an unnecessary kfree since rcd->opstats's value must be NULL
for the code to execute `bail` label.
This fixes the following smatch warning:
drivers/staging/rdma/hfi1/init.c:335 hfi1_create_ctxtdata() warn:
calling kfree() when 'rcd->opstats' is always NULL.
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
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