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)
commit4a4ec57c0656ad4063775db11ace6d498171364a
treebf7ae72d241664bd34294cd90280b5cf421259e1
parentdcc683b81fc466c82830369738cab649a37ef3c2
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