tipc: remove unnecessary call to dev_net()
authorKleber Sacilotto de Souza <kleber.souza@canonical.com>
Wed, 6 Sep 2017 09:08:06 +0000 (11:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Sep 2017 04:25:52 +0000 (21:25 -0700)
commit8e0deed92406d93ae0365cb8a6134db5721e7aca
tree429b27cb1b6096fc1dcdc28035ae94368d41e521
parentf773608026ee1e75e2256e3ad625c222ff6f9305
tipc: remove unnecessary call to dev_net()

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 <kleber.souza@canonical.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/bearer.c