Re: [PATCH] tipc: remove unnecessary call to dev_net()

2017-09-06 Thread David Miller
From: Kleber Sacilotto de Souza Date: Wed, 6 Sep 2017 11:08:06 +0200 > The net device is already stored in the 'net' variable, so no need to call > dev_net() again. > > Signed-off-by: Kleber Sacilotto de Souza Applied, thanks.

Re: [PATCH] tipc: remove unnecessary call to dev_net()

2017-09-06 Thread Ying Xue
On 09/06/2017 05:08 PM, Kleber Sacilotto de Souza wrote: > The net device is already stored in the 'net' variable, so no need to call > dev_net() again. > > Signed-off-by: Kleber Sacilotto de Souza Acked-by: Ying Xue > --- > net/tipc/bearer.c | 2 +- > 1 file changed, 1 insertion(+), 1 deleti

[PATCH] tipc: remove unnecessary call to dev_net()

2017-09-06 Thread Kleber Sacilotto de Souza
The net device is already stored in the 'net' variable, so no need to call dev_net() again. Signed-off-by: Kleber Sacilotto de Souza --- net/tipc/bearer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/tipc/bearer.c b/net/tipc/bearer.c index 89cd061c4468..6d6395e0904e 10