]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c48be3646759aba6abfaa22060c3d4c963f473b
tree4969e0cd5c26b32f545ccaad0de762866e8dac09
parenta0d88c1ee17ff352227a7495987907c621a24fdc
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