summaryrefslogtreecommitdiff
path: root/tools/lib/lockdep/lockdep.c
blob: a0a2e3a266af8122fed3d66b3f5a537ab3c1c773 (plain)
1
2
3
4
5
6
7
8
#include <linux/lockdep.h>

/* Trivial API wrappers, we don't (yet) have RCU in user-space: */
#define hlist_for_each_entry_rcu	hlist_for_each_entry
#define hlist_add_head_rcu		hlist_add_head
#define hlist_del_rcu			hlist_del

#include "../../../kernel/locking/lockdep.c"
tch) tree75633013cb15f6d18562d68bee6668a2c78f3ef7 /drivers parent38ab52e8e1e2dd65f2d349f82553335813b638d2 (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 'drivers')