be2net: get rid of be_get_initial_config() call from be_probe()
authorSathya Perla <sathya.perla@emulex.com>
Mon, 23 Feb 2015 09:20:09 +0000 (04:20 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Feb 2015 20:08:31 +0000 (15:08 -0500)
commit6b085ba9271a252b1e3f836ab5df202c51be4f2f
tree4969e0cd5c26b32f545ccaad0de762866e8dac09
parent78fad34eb8b22ce588b9ebdab39965210588e4b5
be2net: get rid of be_get_initial_config() call from be_probe()

Most of the code to fetch the adapter state is in be_setup()->be_get_config().
So, move the code from be_get_initial_config() to be_get_config().

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_main.c