]> 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)
commitce248e14391f2699f51ee17f78c6ab30b73dcb08
treebf7ae72d241664bd34294cd90280b5cf421259e1
parent014a6cb8a386ba99b7234e9c93d6c83cca7bd6ae
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