bonding: remove print in bond_verify_device_path
authorZhengchao Shao <shaozhengchao@huawei.com>
Thu, 23 Nov 2023 01:55:15 +0000 (09:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Nov 2023 15:21:32 +0000 (15:21 +0000)
commit486058f42a4728053ae69ebbf78e9731d8ce6f8b
tree6d092409000d2b9c6ad1008046c59e5eab0c9e0c
parente7bed88e0530c70c1693af886a5905a3c00760fa
bonding: remove print in bond_verify_device_path

As suggested by Paolo in link[1], if the memory allocation fails, the mm
layer will emit a lot warning comprising the backtrace, so remove the
print.

[1] https://lore.kernel.org/all/20231118081653.1481260-1-shaozhengchao@huawei.com/

Suggested-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Reviewed-by: Hangbin Liu <liuhangbin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c