]> www.infradead.org Git - users/willy/xarray.git/commit
s390/qeth: remove useless if/else
authorKaixu Xia <kaixuxia@tencent.com>
Tue, 17 Nov 2020 16:15:14 +0000 (17:15 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 Nov 2020 01:34:18 +0000 (17:34 -0800)
commit215d2836d714dbc1f52c7d14c6c1716bd4f4ff7b
treef76279dee587a9155166413fabbd0278227e6f9c
parent09840f70b088df1ec24f9b4e345983e7d5f63628
s390/qeth: remove useless if/else

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 since
commit ab29c480b194 ("s390/qeth: replace deprecated simple_stroul()"),
so remove them.

Reported-by: Tosk Robot <tencent_os_robot@tencent.com>
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
[jwi: point to the commit that introduced this]
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/s390/net/qeth_l3_main.c