net/smc: move link llc initialization to llc layer
authorKarsten Graul <kgraul@linux.ibm.com>
Tue, 15 May 2018 15:04:58 +0000 (17:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 May 2018 15:49:19 +0000 (11:49 -0400)
commitb32cf4ab68c06619bacefc7157857a08e7fee695
tree08df6ef756f93389adff249d3dedaac9d0d958af
parentd97935faee4ba2cc37676afd955e9f519a5affbf
net/smc: move link llc initialization to llc layer

Move the llc layer specific initialization and cleanup out of smc_core.c
into smc_llc.c (smc_llc_link_init and smc_llc_link_clear). Move all
initialization of a link into the new init function.

Signed-off-by: Karsten Graul <kgraul@linux.ibm.com>
Signed-off-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/smc/smc_core.c
net/smc/smc_llc.c
net/smc/smc_llc.h