]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns: remove unnecessary !! operation in hns_mac_config_sds_loopback_acpi()
authorYonglong Liu <liuyonglong@huawei.com>
Tue, 23 Mar 2021 07:41:08 +0000 (15:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Mar 2021 19:07:21 +0000 (12:07 -0700)
commit84be58f4af91b228deaea9491b2c45b93e3c4cc4
treebf7ae72d241664bd34294cd90280b5cf421259e1
parent2adcf09f3c71b2795b5e54e8a6a4fa23d5c9a5d5
net: hns: remove unnecessary !! operation in hns_mac_config_sds_loopback_acpi()

The !! operation of variable en in hns_mac_config_sds_loopback_acpi()
is redundant, so remove it.

Signed-off-by: Yonglong Liu <liuyonglong@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c