summaryrefslogtreecommitdiff
path: root/include/linux/phy
diff options
context:
space:
mode:
authorSebastian Sanchez <sebastian.sanchez@intel.com>2017-05-12 19:19:36 +0300
committerDoug Ledford <dledford@redhat.com>2017-06-27 23:56:33 +0300
commitceb26569af5bc33a8f47b755fd64f12c81801ce8 (patch)
tree3ce21d8e0b6e1605ea32026ea265f3a51d169f2e /include/linux/phy
parent8c32c4f2f7ff91152e09ce57a1bcb75596a71933 (diff)
downloadlinux-ceb26569af5bc33a8f47b755fd64f12c81801ce8.tar.xz
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 'include/linux/phy')
0 files changed, 0 insertions, 0 deletions