Staging: lustre: lib-move: Remove unnecessary space after cast.
authorSandhya Bankar <bankarsandhya512@gmail.com>
Mon, 21 Mar 2016 12:36:03 +0000 (18:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
Remove unnecessary space after cast.

Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/lnet/lib-move.c

index 0009a8de77d577fc17167ea35ecb0fbdcacfd6dc..44e2bd6dba637a22b1bfb3947ab8c96196d53b57 100644 (file)
@@ -407,7 +407,7 @@ lnet_copy_kiov2iov(unsigned int niov, struct kvec *iov, unsigned int iovoffset,
                LASSERT(niov > 0);
                LASSERT(nkiov > 0);
                this_nob = min(iov->iov_len - iovoffset,
-                              (__kernel_size_t) kiov->kiov_len - kiovoffset);
+                              (__kernel_size_t)kiov->kiov_len - kiovoffset);
                this_nob = min(this_nob, nob);
 
                if (!addr)
@@ -477,7 +477,7 @@ lnet_copy_iov2kiov(unsigned int nkiov, lnet_kiov_t *kiov,
        do {
                LASSERT(nkiov > 0);
                LASSERT(niov > 0);
-               this_nob = min((__kernel_size_t) kiov->kiov_len - kiovoffset,
+               this_nob = min((__kernel_size_t)kiov->kiov_len - kiovoffset,
                               iov->iov_len - iovoffset);
                this_nob = min(this_nob, nob);
 
@@ -996,7 +996,7 @@ lnet_return_tx_credits_locked(lnet_msg_t *msg)
                        LASSERT(msg2->msg_txpeer->lp_ni == ni);
                        LASSERT(msg2->msg_tx_delayed);
 
-                       (void) lnet_post_send_locked(msg2, 1);
+                       (void)lnet_post_send_locked(msg2, 1);
                }
        }
 
@@ -1019,7 +1019,7 @@ lnet_return_tx_credits_locked(lnet_msg_t *msg)
                        LASSERT(msg2->msg_txpeer == txpeer);
                        LASSERT(msg2->msg_tx_delayed);
 
-                       (void) lnet_post_send_locked(msg2, 1);
+                       (void)lnet_post_send_locked(msg2, 1);
                }
        }
 
@@ -1142,7 +1142,7 @@ routing_off:
                                          lnet_msg_t, msg_list);
                        list_del(&msg2->msg_list);
 
-                       (void) lnet_post_routed_recv_locked(msg2, 1);
+                       (void)lnet_post_routed_recv_locked(msg2, 1);
                }
        }
        if (rxpeer) {