提交 63d0b4a5 编写于 作者: J Jubin John 提交者: Doug Ledford

IB/hfi1: Remove unnecessary header

While running perftests, there is a significant utilization of the
random number daemon. This is due to the linux/random.h header being
included in qp.c and verbs.c. However, none of the functions from this
header are being used in these files, so remove the unnecessary header.
Reviewed-by: NMike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: NJubin John <jubin.john@intel.com>
Signed-off-by: NDoug Ledford <dledford@redhat.com>
上级 67caea1f
...@@ -49,7 +49,6 @@ ...@@ -49,7 +49,6 @@
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include <linux/hash.h> #include <linux/hash.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/random.h>
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <rdma/rdma_vt.h> #include <rdma/rdma_vt.h>
#include <rdma/rdmavt_qp.h> #include <rdma/rdmavt_qp.h>
......
...@@ -52,7 +52,6 @@ ...@@ -52,7 +52,6 @@
#include <linux/utsname.h> #include <linux/utsname.h>
#include <linux/rculist.h> #include <linux/rculist.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <linux/random.h>
#include <linux/vmalloc.h> #include <linux/vmalloc.h>
#include "hfi.h" #include "hfi.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册