Commit 8a1d7b09 authored by Miguel Bernabeu Diaz's avatar Miguel Bernabeu Diaz Committed by Greg Kroah-Hartman

Staging: lustre: lnet: Remove unnecessary parentheses on return

Removed three instances of parentheses in return calls that are
unnecessary and do not contribute to readability.
Signed-off-by: default avatarMiguel Bernabeu Diaz <miguelbernadi@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 276479ff
...@@ -721,14 +721,14 @@ kiblnd_nid2peerlist(lnet_nid_t nid) ...@@ -721,14 +721,14 @@ kiblnd_nid2peerlist(lnet_nid_t nid)
unsigned int hash = unsigned int hash =
((unsigned int)nid) % kiblnd_data.kib_peer_hash_size; ((unsigned int)nid) % kiblnd_data.kib_peer_hash_size;
return (&kiblnd_data.kib_peers[hash]); return &kiblnd_data.kib_peers[hash];
} }
static inline int static inline int
kiblnd_peer_active(kib_peer_t *peer) kiblnd_peer_active(kib_peer_t *peer)
{ {
/* Am I in the peer hash table? */ /* Am I in the peer hash table? */
return (!list_empty(&peer->ibp_list)); return !list_empty(&peer->ibp_list);
} }
static inline kib_conn_t * static inline kib_conn_t *
...@@ -833,7 +833,7 @@ kiblnd_wreqid2ptr(__u64 wreqid) ...@@ -833,7 +833,7 @@ kiblnd_wreqid2ptr(__u64 wreqid)
static inline int static inline int
kiblnd_wreqid2type(__u64 wreqid) kiblnd_wreqid2type(__u64 wreqid)
{ {
return (wreqid & IBLND_WID_MASK); return wreqid & IBLND_WID_MASK;
} }
static inline void static inline void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment