diff options
author | Kaixu Xia <kaixuxia@tencent.com> | 2020-11-08 09:11:59 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-10 15:24:49 -0800 |
commit | 3ec94da976fe10b6e4f74c8d35deef0a6c0dd743 (patch) | |
tree | 336503f0da5f9d7abf612bbfc0ed77c30c19ad9e /drivers/net/ethernet/oki-semi | |
parent | 30e2379e823309ee015043ffaa522cf5a0cd00b1 (diff) | |
download | linux-stable-3ec94da976fe10b6e4f74c8d35deef0a6c0dd743.tar.gz linux-stable-3ec94da976fe10b6e4f74c8d35deef0a6c0dd743.tar.bz2 linux-stable-3ec94da976fe10b6e4f74c8d35deef0a6c0dd743.zip |
net: atlantic: Remove unnecessary conversion to bool
The '!=' expression itself is bool, no need to convert it to bool.
Fix the following coccicheck warning:
./drivers/net/ethernet/aquantia/atlantic/aq_nic.c:1477:34-39: WARNING: conversion to bool not needed here
Reported-by: Tosk Robot <tencent_os_robot@tencent.com>
Signed-off-by: Kaixu Xia <kaixuxia@tencent.com>
Link: https://lore.kernel.org/r/1604797919-10157-1-git-send-email-kaixuxia@tencent.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/oki-semi')
0 files changed, 0 insertions, 0 deletions