Re: [PATCH 1/1] bonding: Remove unnecessary returned value check

2017-02-03 Thread David Miller
From: Zhu Yanjun Date: Thu, 2 Feb 2017 23:46:21 -0500 > The function bond_info_query alwarys returns 0. As such, in the function > bond_do_ioctl, it is not necessary to check the returned value. So the > interface type of the function bond_info_query is changed to void. The > redundant check is

[PATCH 1/1] bonding: Remove unnecessary returned value check

2017-02-02 Thread Zhu Yanjun
The function bond_info_query alwarys returns 0. As such, in the function bond_do_ioctl, it is not necessary to check the returned value. So the interface type of the function bond_info_query is changed to void. The redundant check is removed. Signed-off-by: Zhu Yanjun --- drivers/net/bonding/bon