Staging: lustre: lnet: lnet: router.c: fix 80 char line limit
authorRedha Gouicem <redha.gouicem@gmail.com>
Thu, 19 Mar 2015 09:16:07 +0000 (10:16 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Mar 2015 12:25:32 +0000 (13:25 +0100)
This patch fixes lines longer than the 80 char limit.

Signed-off-by: Redha Gouicem <redha.gouicem@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lnet/lnet/router.c

index c0a6aebea3514b5fea30e64a5ce043ea178ed770..568a31f4b3212e4f51d37ada7d4f5ce1de4f8f0e 100644 (file)
@@ -107,7 +107,8 @@ lnet_peers_start_down(void)
 }
 
 void
-lnet_notify_locked(lnet_peer_t *lp, int notifylnd, int alive, unsigned long when)
+lnet_notify_locked(lnet_peer_t *lp, int notifylnd, int alive,
+                  unsigned long when)
 {
        if (time_before(when, lp->lp_timestamp)) { /* out of date information */
                CDEBUG(D_NET, "Out of date\n");
@@ -1435,7 +1436,7 @@ int
 lnet_rtrpools_alloc(int im_a_router)
 {
        lnet_rtrbufpool_t *rtrp;
-       int     large_pages = (LNET_MTU + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT;
+       int     large_pages;
        int     small_pages = 1;
        int     nrb_tiny;
        int     nrb_small;
@@ -1443,6 +1444,8 @@ lnet_rtrpools_alloc(int im_a_router)
        int     rc;
        int     i;
 
+       large_pages = (LNET_MTU + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT;
+
        if (!strcmp(forwarding, "")) {
                /* not set either way */
                if (!im_a_router)