Re: [PATCH v2 2/2] net: netrom: refactor code in nr_add_node

2017-10-22 Thread Gustavo A. R. Silva
Quoting David Miller : From: "Gustavo A. R. Silva" Date: Sun, 22 Oct 2017 20:08:40 -0500 Code refactoring in order to make it easier to read and maintain. Signed-off-by: Gustavo A. R. Silva Gustavo, always when reposting a new version of a patch that is part of a series you must _always_

Re: [PATCH v2 2/2] net: netrom: refactor code in nr_add_node

2017-10-22 Thread David Miller
From: "Gustavo A. R. Silva" Date: Sun, 22 Oct 2017 20:08:40 -0500 > Code refactoring in order to make it easier to read and maintain. > > Signed-off-by: Gustavo A. R. Silva Gustavo, always when reposting a new version of a patch that is part of a series you must _always_ repost the entire patc

[PATCH v2 2/2] net: netrom: refactor code in nr_add_node

2017-10-22 Thread Gustavo A. R. Silva
Code refactoring in order to make it easier to read and maintain. Signed-off-by: Gustavo A. R. Silva --- This code was tested by compilation only. Changes in v2: Make use of the swap macro and remove inline keyword. net/netrom/nr_route.c | 59 ++