netlink: Use bool when returning boolean values

Return bool from netlink functions that return boolean values.  This allows
gcc to make better choices.

Note that !! on a bool value is not required and that when adding/subtracting
a bool, it is converted to 0 or 1 as appropriate.

Signed-off-by: David Howells <dhowells@redhat.com>
4 files changed