diff options
author | James Simmons | 2016-02-12 18:06:02 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2016-02-15 01:20:32 +0100 |
commit | 0eee67781c98a47ba579d92159dcd39ce2cee639 (patch) | |
tree | c28cc925e7216cc647d9155ea49a5f2d5201939a /drivers/staging/lustre/lnet/klnds | |
parent | staging: lustre: align all code properly for LNet core (diff) | |
download | kernel-qcow2-linux-0eee67781c98a47ba579d92159dcd39ce2cee639.tar.gz kernel-qcow2-linux-0eee67781c98a47ba579d92159dcd39ce2cee639.tar.xz kernel-qcow2-linux-0eee67781c98a47ba579d92159dcd39ce2cee639.zip |
staging: lustre: remove unnecessary parentheses around LNet function pointer
No need for the parentheses around any function pointer.
Signed-off-by: James Simmons <jsimmons@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre/lnet/klnds')
-rw-r--r-- | drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c index fbcbb97dda1f..cbf5d0a495d2 100644 --- a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c +++ b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c @@ -2185,7 +2185,7 @@ kiblnd_passive_connect(struct rdma_cm_id *cmid, void *priv, int priv_nob) rej.ibr_why = IBLND_REJECT_FATAL; rej.ibr_cp.ibcp_max_msg_size = IBLND_MSG_SIZE; - peer_addr = (struct sockaddr_in *)&(cmid->route.addr.dst_addr); + peer_addr = (struct sockaddr_in *)&cmid->route.addr.dst_addr; if (*kiblnd_tunables.kib_require_priv_port && ntohs(peer_addr->sin_port) >= PROT_SOCK) { __u32 ip = ntohl(peer_addr->sin_addr.s_addr); |