summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSebastian Sanchez <sebastian.sanchez@intel.com>2017-05-12 09:19:36 -0700
committerDoug Ledford <dledford@redhat.com>2017-06-27 16:56:33 -0400
commitceb26569af5bc33a8f47b755fd64f12c81801ce8 (patch)
tree3ce21d8e0b6e1605ea32026ea265f3a51d169f2e /tools/perf/scripts/python/bin
parent8c32c4f2f7ff91152e09ce57a1bcb75596a71933 (diff)
downloadlinux-ceb26569af5bc33a8f47b755fd64f12c81801ce8.tar.gz
linux-ceb26569af5bc33a8f47b755fd64f12c81801ce8.zip
IB/hfi1: Remove unnecessary initialization from tx request
The tx request is unnecessarily initialized in the hot code path with memset(), however, there's no need to do this as most fields are initialized later on. this initialization shows to be costly in the profile. Remove unnecessary initialization from tx request and make sure all variables are initialized properly. Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions