tipc: remove trailing space in messages
authorFrans Pop <elendil@planet.nl>
Wed, 24 Mar 2010 07:57:29 +0000 (07:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 24 Mar 2010 21:01:54 +0000 (14:01 -0700)
Signed-off-by: Frans Pop <elendil@planet.nl>
Cc: Per Liden <per.liden@ericsson.com>
Cc: Jon Maloy <jon.maloy@ericsson.com>
Cc: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/link.c
net/tipc/net.c
net/tipc/node.c

index 49f2be8622a9f6fd776fea3ad34a110073aa0742..c76e82e5f9828885a595bebbae15a0591ed591a0 100644 (file)
@@ -877,7 +877,7 @@ static void link_state_event(struct link *l_ptr, unsigned event)
                case TIMEOUT_EVT:
                        dbg_link("TIM ");
                        if (l_ptr->next_in_no != l_ptr->checkpoint) {
-                               dbg_link("-> WW \n");
+                               dbg_link("-> WW\n");
                                l_ptr->state = WORKING_WORKING;
                                l_ptr->fsm_msg_cnt = 0;
                                l_ptr->checkpoint = l_ptr->next_in_no;
@@ -934,7 +934,7 @@ static void link_state_event(struct link *l_ptr, unsigned event)
                        link_set_timer(l_ptr, cont_intv);
                        break;
                case RESET_MSG:
-                       dbg_link("RES \n");
+                       dbg_link("RES\n");
                        dbg_link(" -> RR\n");
                        l_ptr->state = RESET_RESET;
                        l_ptr->fsm_msg_cnt = 0;
@@ -947,7 +947,7 @@ static void link_state_event(struct link *l_ptr, unsigned event)
                        l_ptr->started = 1;
                        /* fall through */
                case TIMEOUT_EVT:
-                       dbg_link("TIM \n");
+                       dbg_link("TIM\n");
                        tipc_link_send_proto_msg(l_ptr, RESET_MSG, 0, 0, 0, 0, 0);
                        l_ptr->fsm_msg_cnt++;
                        link_set_timer(l_ptr, cont_intv);
@@ -3295,7 +3295,7 @@ static void link_dump_rec_queue(struct link *l_ptr)
                        info("buffer %x invalid\n", crs);
                        return;
                }
-               msg_dbg(buf_msg(crs), "In rec queue: \n");
+               msg_dbg(buf_msg(crs), "In rec queue:\n");
                crs = crs->next;
        }
 }
index f25b1cdb64eb069cba0bf991df72930248ba371c..79ce8fa2b77ac4909500181e0b899298adc5e199 100644 (file)
@@ -291,6 +291,6 @@ void tipc_net_stop(void)
        tipc_bclink_stop();
        net_stop();
        write_unlock_bh(&tipc_net_lock);
-       info("Left network mode \n");
+       info("Left network mode\n");
 }
 
index 2c24e7d6d9506a38a0072c2517da793ed57b81ba..17cc394f424f8fd27565742030eb0af0ec1f05fd 100644 (file)
@@ -278,7 +278,7 @@ struct tipc_node *tipc_node_attach_link(struct link *l_ptr)
                        n_ptr->link_cnt++;
                        return n_ptr;
                }
-               err("Attempt to establish second link on <%s> to %s \n",
+               err("Attempt to establish second link on <%s> to %s\n",
                    l_ptr->b_ptr->publ.name,
                    addr_string_fill(addr_string, l_ptr->addr));
        }