Re: [PATCH] s390/qeth: remove useless if/else

2020-11-09 Thread Julian Wiedmann
On 08.11.20 08:34, xiakaixu1...@gmail.com wrote: > From: Kaixu Xia > > Fix the following coccinelle report: > > ./drivers/s390/net/qeth_l3_main.c:107:2-4: WARNING: possible condition with > no effect (if == else) > > Both branches are the same, so remove them. > Indeed, missed that in

Re: [PATCH] s390/qeth: remove useless if/else

2020-11-08 Thread Joe Perches
On Sun, 2020-11-08 at 14:34 +0800, xiakaixu1...@gmail.com wrote: > From: Kaixu Xia > > Fix the following coccinelle report: > > ./drivers/s390/net/qeth_l3_main.c:107:2-4: WARNING: possible condition with > no effect (if == else) > > Both branches are the same, so remove them. [] > diff --git

[PATCH] s390/qeth: remove useless if/else

2020-11-07 Thread xiakaixu1987
From: Kaixu Xia Fix the following coccinelle report: ./drivers/s390/net/qeth_l3_main.c:107:2-4: WARNING: possible condition with no effect (if == else) Both branches are the same, so remove them. Reported-by: Tosk Robot Signed-off-by: Kaixu Xia --- drivers/s390/net/qeth_l3_main.c | 5