hw: set_netdev: remove useless code
PATCH 1/1 hw: set_netdev: remove useless code
In set_netdev(), the peers[i] is initializedqemu_find_net_clients_except() when i is in
0 between 'queues' it can't be NULL.
--- hw/core/qdev-properties-system.c | 4 ---- 1 file changed, 4 deletions(-)
hw/core/qdev-properties-system.c +0 -4
@@ -288,10 +288,6 @@ static void set_netdev(Object *obj, Visitor *v, const char *name, }for (i =0 ; i < queues; i++) { -if (peers[i] ==NULL ) { - err = -ENOENT ; - goto out; - }if (peers[i]->peer) { err = -EEXIST ;
Signature · 1 line
1.8.3.1
Quoted 15 lines · Li Qiang
In
set_netdev(), the peers[i] is initializedqemu_find_net_clients_except()when i is in
0 between 'queues' it can't be NULL.Signed-off-by Li Qiang <[email protected]>--- hw/core/qdev-properties-system.c | 4 ---- 1 file changed, 4 deletions(-)hw/core/qdev-properties-system.c +0
-0
hw/core/qdev-properties-system.c static void set_netdev(Object *obj, Visitor *v, const char *name, · line 293
Quoted 10 lines
hw/core/qdev-properties-system.c +0
-4@@ -288,10 +288,6 @@ static void set_netdev(Object *obj, Visitor *v, const char *name, }for (i =0 ; i < queues; i++) { -if (peers[i] ==NULL ) { - err = -ENOENT ; - goto out; - }if (peers[i]->peer) { err = -EEXIST ;
Quoted 23 lines · Laurent Vivier
Quoted 22 lines · Li Qiang
In
set_netdev(), the peers[i] is initializedqemu_find_net_clients_except()when i is in
0 between 'queues' it can't be NULL.Signed-off-by Li Qiang <[email protected]>--- hw/core/qdev-properties-system.c | 4 ---- 1 file changed, 4 deletions(-)hw/core/qdev-properties-system.c +0
-4@@ -288,10 +288,6 @@ static void set_netdev(Object *obj, Visitor *v, const char *name, }for (i =0 ; i < queues; i++) { -if (peers[i] ==NULL ) { - err = -ENOENT ; - goto out; - }
Quoted 5 lines
hw/core/qdev-properties-system.c static void set_netdev(Object *obj, Visitor *v, const char *name, · line 293
Quoted 3 lines
hw/core/qdev-properties-system.c +0
-0if (peers[i]->peer) { err = -EEXIST ;Reviewed-by Laurent Vivier <[email protected]>
So who can pick up such patches? We don't have a maintainer for the QDEV subsystem anymore... should it go via qemu-trivial?
Thomas
Quoted 24 lines · Thomas Huth
Quoted 23 lines · Laurent Vivier
Quoted 22 lines · Li Qiang
In
set_netdev(), the peers[i] is initializedqemu_find_net_clients_except()when i is in
0 between 'queues' it can't be NULL.Signed-off-by Li Qiang <[email protected]>--- hw/core/qdev-properties-system.c | 4 ---- 1 file changed, 4 deletions(-)hw/core/qdev-properties-system.c +0
-4@@ -288,10 +288,6 @@ static void set_netdev(Object *obj, Visitor *v, const char *name, }for (i =0 ; i < queues; i++) { -if (peers[i] ==NULL ) { - err = -ENOENT ; - goto out; - }
Quoted 8 lines
Quoted 5 lines
hw/core/qdev-properties-system.c static void set_netdev(Object *obj, Visitor *v, const char *name, · line 293
Quoted 3 lines
hw/core/qdev-properties-system.c +0
-0if (peers[i]->peer) { err = -EEXIST ;Reviewed-by Laurent Vivier <[email protected]>So who can pick up such patches? We don't have a maintainer for the QDEV subsystem anymore... should it go via qemu-trivial?
It seems trivial enough to go via qemu-trivial, but it would be good to have a R-b from someone else than me to confirm.
Thanks,
Laurent
Paolo Bonzini
Reviewed-byQuoted 31 lines · Laurent Vivier
Quoted 30 lines · Thomas Huth
Quoted 28 lines · Laurent Vivier
Quoted 15 lines · Li Qiang
In
set_netdev(), the peers[i] is initializedqemu_find_net_clients_except()when i is in
0 between 'queues' it can't be NULL.Signed-off-by Li Qiang <[email protected]>--- hw/core/qdev-properties-system.c | 4 ---- 1 file changed, 4 deletions(-)hw/core/qdev-properties-system.c +0
-0hw/core/qdev-properties-system.c static void set_netdev(Object *obj, Visitor *v, const char *name, · line 293
Quoted 10 lines
hw/core/qdev-properties-system.c +0
-4@@ -288,10 +288,6 @@ static void set_netdev(Object *obj, Visitor *v, const char *name, }for (i =0 ; i < queues; i++) { -if (peers[i] ==NULL ) { - err = -ENOENT ; - goto out; - }if (peers[i]->peer) { err = -EEXIST ;Reviewed-by Laurent Vivier <[email protected]>
Quoted 5 lines
Quoted 2 lines
So who can pick up such patches? We don't have a maintainer for the QDEV subsystem anymore... should it go via qemu-trivial?
It seems trivial enough to go via qemu-trivial, but it would be good to have a R-b from someone else than me to confirm.
I would have expected Jason to pick it up, after all it's networking, but it's okay if you want to take it too.
Thanks,
Paolo
Quoted 32 lines · Paolo Bonzini
Quoted 31 lines · Laurent Vivier
Quoted 30 lines · Thomas Huth
Quoted 28 lines · Laurent Vivier
Quoted 15 lines · Li Qiang
In
set_netdev(), the peers[i] is initializedqemu_find_net_clients_except()when i is in
0 between 'queues' it can't be NULL.Signed-off-by Li Qiang <[email protected]>--- hw/core/qdev-properties-system.c | 4 ---- 1 file changed, 4 deletions(-)hw/core/qdev-properties-system.c +0
-0hw/core/qdev-properties-system.c static void set_netdev(Object *obj, Visitor *v, const char *name, · line 293
Quoted 10 lines
hw/core/qdev-properties-system.c +0
-4@@ -288,10 +288,6 @@ static void set_netdev(Object *obj, Visitor *v, const char *name, }for (i =0 ; i < queues; i++) { -if (peers[i] ==NULL ) { - err = -ENOENT ; - goto out; - }if (peers[i]->peer) { err = -EEXIST ;Reviewed-by Laurent Vivier <[email protected]>
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
So who can pick up such patches? We don't have a maintainer for the QDEV subsystem anymore... should it go via qemu-trivial?
It seems trivial enough to go via qemu-trivial, but it would be good to have a R-b from someone else than me to confirm.
I would have expected Jason to pick it up, after all it's networking, but it's okay if you want to take it too.
If Jason pushes it before I do, I will remove it from my queue. [I have the bad habit to rebase by branch before a pull request]
Thanks,
Laurent
Quoted 32 lines · Paolo Bonzini
Quoted 31 lines · Laurent Vivier
Quoted 30 lines · Thomas Huth
Quoted 28 lines · Laurent Vivier
Quoted 15 lines · Li Qiang
In
set_netdev(), the peers[i] is initializedqemu_find_net_clients_except()when i is in
0 between 'queues' it can't be NULL.Signed-off-by Li Qiang <[email protected]>--- hw/core/qdev-properties-system.c | 4 ---- 1 file changed, 4 deletions(-)hw/core/qdev-properties-system.c +0
-0hw/core/qdev-properties-system.c static void set_netdev(Object *obj, Visitor *v, const char *name, · line 293
Quoted 10 lines
hw/core/qdev-properties-system.c +0
-4@@ -288,10 +288,6 @@ static void set_netdev(Object *obj, Visitor *v, const char *name, }for (i =0 ; i < queues; i++) { -if (peers[i] ==NULL ) { - err = -ENOENT ; - goto out; - }if (peers[i]->peer) { err = -EEXIST ;Reviewed-by Laurent Vivier <[email protected]>
Quoted 8 lines
Quoted 5 lines
Quoted 2 lines
So who can pick up such patches? We don't have a maintainer for the QDEV subsystem anymore... should it go via qemu-trivial?
It seems trivial enough to go via qemu-trivial, but it would be good to have a R-b from someone else than me to confirm.
I would have expected Jason to pick it up, after all it's networking, but it's okay if you want to take it too.
If Jason pushes it before I do, I will remove it from my queue. [I have the bad habit to rebase by branch before a pull request]
Thanks,
Laurent
[Qemu-devel] qdev has no maintainer (was: [PATCH] hw: set_netdev: remove useless code)
In reply to Thomas HuthQuoted 24 lines · Thomas Huth
Quoted 23 lines · Laurent Vivier
Quoted 22 lines · Li Qiang
In
set_netdev(), the peers[i] is initializedqemu_find_net_clients_except()when i is in
0 between 'queues' it can't be NULL.Signed-off-by Li Qiang <[email protected]>--- hw/core/qdev-properties-system.c | 4 ---- 1 file changed, 4 deletions(-)hw/core/qdev-properties-system.c +0
-4@@ -288,10 +288,6 @@ static void set_netdev(Object *obj, Visitor *v, const char *name, }for (i =0 ; i < queues; i++) { -if (peers[i] ==NULL ) { - err = -ENOENT ; - goto out; - }
Quoted 8 lines
Quoted 5 lines
hw/core/qdev-properties-system.c static void set_netdev(Object *obj, Visitor *v, const char *name, · line 293
Quoted 3 lines
hw/core/qdev-properties-system.c +0
-0if (peers[i]->peer) { err = -EEXIST ;Reviewed-by Laurent Vivier <[email protected]>So who can pick up such patches? We don't have a maintainer for the QDEV subsystem anymore... should it go via qemu-trivial?
We've never had a formal qdev maintainer.
"qdev is too important to continue much longer without a maintainer."
Message-ID: <[email protected]>
https://lists.gnu.org/archive/html/qemu-devel/2011-06/msg01053.html
The closest we got to appointing one was probably here:
Message-ID: <[email protected]>
https://lists.gnu.org/archive/html/qemu-devel/2016-02/msg00949.html
In my opinion, not having a maintainer push or at least direct the cart is one of the reasons of the relatively sad state of qdev.
Same for QOM, where we had an active maintainer for a while, but no more.
Quoted 15 lines · Li Qiang
In
set_netdev(), the peers[i] is initializedqemu_find_net_clients_except()when i is in
0 between 'queues' it can't be NULL.Signed-off-by Li Qiang <[email protected]>--- hw/core/qdev-properties-system.c | 4 ---- 1 file changed, 4 deletions(-)hw/core/qdev-properties-system.c +0
-0
hw/core/qdev-properties-system.c static void set_netdev(Object *obj, Visitor *v, const char *name, · line 293
Quoted 10 lines
hw/core/qdev-properties-system.c +0
-4@@ -288,10 +288,6 @@ static void set_netdev(Object *obj, Visitor *v, const char *name, }for (i =0 ; i < queues; i++) { -if (peers[i] ==NULL ) { - err = -ENOENT ; - goto out; - }if (peers[i]->peer) { err = -EEXIST ;
Laurent Vivier
AppliedQuoted 15 lines · Li Qiang
In
set_netdev(), the peers[i] is initializedqemu_find_net_clients_except()when i is in
0 between 'queues' it can't be NULL.Signed-off-by Li Qiang <[email protected]>--- hw/core/qdev-properties-system.c | 4 ---- 1 file changed, 4 deletions(-)hw/core/qdev-properties-system.c +0
-0
hw/core/qdev-properties-system.c static void set_netdev(Object *obj, Visitor *v, const char *name, · line 293
Quoted 10 lines
hw/core/qdev-properties-system.c +0
-4@@ -288,10 +288,6 @@ static void set_netdev(Object *obj, Visitor *v, const char *name, }for (i =0 ; i < queues; i++) { -if (peers[i] ==NULL ) { - err = -ENOENT ; - goto out; - }if (peers[i]->peer) { err = -EEXIST ;
Applied to my trivial-patches branch.
Thanks,
Laurent