]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: lustre: lnet: lnet: fixed space coding style issues
authorSamuel Domínguez <samuel.dominguez.lorenzo@gmail.com>
Thu, 5 Dec 2013 16:16:13 +0000 (16:16 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Dec 2013 21:04:56 +0000 (13:04 -0800)
Fixed a coding style issue with spaces between function names and arguments:

func (x) -> func(x)

Signed-off-by: Samuel Dominguez <samuel.dominguez.lorenzo@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/lnet/lib-msg.c

index 61ae88be6f021d617197e60dec418e048f3607d9..761f1e12f84701f0929d0c94d2aa9aa4569e06a8 100644 (file)
@@ -43,7 +43,7 @@
 #include <linux/lnet/lib-lnet.h>
 
 void
-lnet_build_unlink_event (lnet_libmd_t *md, lnet_event_t *ev)
+lnet_build_unlink_event(lnet_libmd_t *md, lnet_event_t *ev)
 {
        memset(ev, 0, sizeof(*ev));
 
@@ -362,7 +362,7 @@ lnet_complete_msg_locked(lnet_msg_t *msg, int cpt)
        int             rc;
        int             status = msg->msg_ev.status;
 
-       LASSERT (msg->msg_onactivelist);
+       LASSERT(msg->msg_onactivelist);
 
        if (status == 0 && msg->msg_ack) {
                /* Only send an ACK if the PUT completed successfully */
@@ -432,7 +432,7 @@ lnet_complete_msg_locked(lnet_msg_t *msg, int cpt)
 }
 
 void
-lnet_finalize (lnet_ni_t *ni, lnet_msg_t *msg, int status)
+lnet_finalize(lnet_ni_t *ni, lnet_msg_t *msg, int status)
 {
        struct lnet_msg_container       *container;
        int                             my_slot;
@@ -440,7 +440,7 @@ lnet_finalize (lnet_ni_t *ni, lnet_msg_t *msg, int status)
        int                             rc;
        int                             i;
 
-       LASSERT (!in_interrupt ());
+       LASSERT(!in_interrupt());
 
        if (msg == NULL)
                return;