Commit 63d0b4a5 authored by Jubin John's avatar Jubin John Committed by 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: default avatarMike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: default avatarJubin John <jubin.john@intel.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment