commit | 3d67576da15167b2669e4765ca9e383f6bcb4171 | [log] [tgz] |
---|---|---|
author | Zhu Yanjun <yanjun.zhu@oracle.com> | Thu Feb 02 23:46:21 2017 -0500 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 03 16:25:17 2017 -0500 |
tree | 75633013cb15f6d18562d68bee6668a2c78f3ef7 | |
parent | 38ab52e8e1e2dd65f2d349f82553335813b638d2 [diff] |
bonding: Remove unnecessary returned value check 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 <yanjun.zhu@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>