diff options
author | Zhu Yanjun <yanjun.zhu@oracle.com> | 2017-02-02 23:46:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-03 16:25:17 -0500 |
commit | 3d67576da15167b2669e4765ca9e383f6bcb4171 (patch) | |
tree | 75633013cb15f6d18562d68bee6668a2c78f3ef7 /net/tipc/name_table.c | |
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>
Diffstat (limited to 'net/tipc/name_table.c')
0 files changed, 0 insertions, 0 deletions