Commit 4a4ec57c authored by Yonglong Liu's avatar Yonglong Liu Committed by David S. Miller
Browse files

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: default avatarYonglong Liu <liuyonglong@huawei.com>
Signed-off-by: default avatarHuazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent dcc683b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -686,7 +686,7 @@ hns_mac_config_sds_loopback_acpi(struct hns_mac_cb *mac_cb, bool en)
	obj_args[0].integer.type = ACPI_TYPE_INTEGER;
	obj_args[0].integer.value = mac_cb->mac_id;
	obj_args[1].integer.type = ACPI_TYPE_INTEGER;
	obj_args[1].integer.value = !!en;
	obj_args[1].integer.value = en;

	argv4.type = ACPI_TYPE_PACKAGE;
	argv4.package.count = 2;