be2net: refactor function initalization sequence into be_func_init()
authorSathya Perla <sathya.perla@emulex.com>
Mon, 23 Feb 2015 09:20:10 +0000 (04:20 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Feb 2015 20:08:31 +0000 (15:08 -0500)
commitca3de6b29d09585bdb7b5af2e12f815468120184
tree9185e3e3aee7425a5c9681334fff3c1784d324ad
parent6b085ba9271a252b1e3f836ab5df202c51be4f2f
be2net: refactor function initalization sequence into be_func_init()

Function initialization sequence is executed in be_probe(), be_resume
and be_eeh_resume(). Move this code to a new routine called be_func_init()
to prevent code duplication.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_main.c