staging: rtl8723bs: remove redundant comparisons of unsigned ints with >= 0
authorColin Ian King <colin.king@canonical.com>
Thu, 13 Apr 2017 14:13:46 +0000 (15:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Apr 2017 11:54:25 +0000 (13:54 +0200)
commitff8d351d71f3261c964ce90d43ce6907e79e5fc4
treeaac98e290f327977682bed73625e4db9ed11c81e
parentbaa7a586b5b4195268d53c5a69bbcd7db4ce19f2
staging: rtl8723bs: remove redundant comparisons of unsigned ints with >= 0

The comparison of mode >= 0 is redundant as mode is a u32 and this
is always true.  Remove this redundant code.

Detected with CoverityScan ("Unsigned compared against 0")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_debug.c