Skip to contentSkip to conversation

hw/rdma: Delete unused headers inclusion

PATCH Applied Yuval Shaia 5 participants 5 messages May 5, 2019 – May 28, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/rdma: Delete unused headers inclusion

This is a trivial cleanup patch.

---
 hw/rdma/rdma_backend.c | 7 -------
 1 file changed, 7 deletions(-)
hw/rdma/rdma_backend.c +0 -7
index d1660b6474..05f6b03221 100644
@@ -14,16 +14,9 @@
  */
 
 #include "qemu/osdep.h"
-#include "sysemu/sysemu.h"
-#include "qapi/error.h"
-#include "qapi/qmp/qlist.h"
-#include "qapi/qmp/qnum.h"
 #include "qapi/qapi-events-rdma.h"
 
 #include <infiniband/verbs.h>
-#include <infiniband/umad_types.h>
-#include <infiniband/umad.h>
-#include <rdma/rdma_user_cm.h>
 
 #include "contrib/rdmacm-mux/rdmacm-mux.h"
 #include "trace.h"
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 19 lines · Yuval Shaia

This is a trivial cleanup patch.

---
 hw/rdma/rdma_backend.c | 7 -------
 1 file changed, 7 deletions(-)
hw/rdma/rdma_backend.c +0 -3
index d1660b6474..05f6b03221 100644
@@ -14,16 +14,9 @@
  */
 
 #include "qemu/osdep.h"
-#include "sysemu/sysemu.h"
-#include "qapi/error.h"
-#include "qapi/qmp/qlist.h"

hw/rdma/rdma_backend.c line 22

Quoted 10 lines
hw/rdma/rdma_backend.c +0 -4
-#include "qapi/qmp/qnum.h"
 #include "qapi/qapi-events-rdma.h"
 
 #include <infiniband/verbs.h>
-#include <infiniband/umad_types.h>
-#include <infiniband/umad.h>
-#include <rdma/rdma_user_cm.h>
 
 #include "contrib/rdmacm-mux/rdmacm-mux.h"
 #include "trace.h"
#2 lore raw
In reply to Yuval Shaia

Looks stuck. Let's try qemu-trivial.

Quoted 28 lines · Yuval Shaia

This is a trivial cleanup patch.

---
 hw/rdma/rdma_backend.c | 7 -------
 1 file changed, 7 deletions(-)
hw/rdma/rdma_backend.c +0 -7
index d1660b6474..05f6b03221 100644
@@ -14,16 +14,9 @@
  */
 
 #include "qemu/osdep.h"
-#include "sysemu/sysemu.h"
-#include "qapi/error.h"
-#include "qapi/qmp/qlist.h"
-#include "qapi/qmp/qnum.h"
 #include "qapi/qapi-events-rdma.h"
 
 #include <infiniband/verbs.h>
-#include <infiniband/umad_types.h>
-#include <infiniband/umad.h>
-#include <rdma/rdma_user_cm.h>
 
 #include "contrib/rdmacm-mux/rdmacm-mux.h"
 #include "trace.h"
#3 lore raw

Hi Markus,

Quoted 1 line · Markus Armbruster

Looks stuck. Let's try qemu-trivial.

Thanks, that is a great idea.

I didn't want to send a single-patch pull request, especially while another is waiting for reviews. Anyway, trivial queue can be used indeed.

Thanks,
Marcel

Quoted 31 lines
Quoted 28 lines · Yuval Shaia

This is a trivial cleanup patch.

---
  hw/rdma/rdma_backend.c | 7 -------
  1 file changed, 7 deletions(-)
hw/rdma/rdma_backend.c +0 -7
index d1660b6474..05f6b03221 100644
@@ -14,16 +14,9 @@
   */
 
  #include "qemu/osdep.h"
-#include "sysemu/sysemu.h"
-#include "qapi/error.h"
-#include "qapi/qmp/qlist.h"
-#include "qapi/qmp/qnum.h"
  #include "qapi/qapi-events-rdma.h"
 
  #include <infiniband/verbs.h>
-#include <infiniband/umad_types.h>
-#include <infiniband/umad.h>
-#include <rdma/rdma_user_cm.h>
 
  #include "contrib/rdmacm-mux/rdmacm-mux.h"
  #include "trace.h"
#4 lore raw
Quoted 10 lines · Marcel Apfelbaum

Hi Markus,

Quoted 1 line · Markus Armbruster

Looks stuck.  Let's try qemu-trivial.

Thanks, that is a great idea.

I didn't want to send a single-patch pull request, especially while another is waiting for reviews. Anyway, trivial queue can be used indeed.

Applied to my trivial-patches branch.

Thanks,
Laurent

Quoted 33 lines

Thanks,
Marcel

Quoted 28 lines
Quoted 25 lines · Yuval Shaia

This is a trivial cleanup patch.

---
  hw/rdma/rdma_backend.c | 7 -------

  1 file changed, 7 deletions(-)
hw/rdma/rdma_backend.c +0 -7
index d1660b6474..05f6b03221 100644
@@ -14,16 +14,9 @@
    */
   #include "qemu/osdep.h"
-#include "sysemu/sysemu.h"
-#include "qapi/error.h"
-#include "qapi/qmp/qlist.h"
-#include "qapi/qmp/qnum.h"
   #include "qapi/qapi-events-rdma.h"
   #include <infiniband/verbs.h>
-#include <infiniband/umad_types.h>
-#include <infiniband/umad.h>
-#include <rdma/rdma_user_cm.h>
   #include "contrib/rdmacm-mux/rdmacm-mux.h"
   #include "trace.h"