be2net: remove be_cmd_get_profile_config_mbox/mccq() variants
authorVasundhara Volam <vasundhara.volam@emulex.com>
Mon, 30 Jun 2014 07:31:30 +0000 (13:01 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Jul 2014 01:40:56 +0000 (18:40 -0700)
commitba48c0c92704c68065ffb07661e4f99c800aeca2
tree284763a72e868e5090c1a81be3b5abb0c6a7d018
parentbd4578bc84a8c8a390cf6002539e75447e78e935
be2net: remove be_cmd_get_profile_config_mbox/mccq() variants

Fix be_cmd_get_profile_cmd() to use be_cmd_notify_wait() routine,
which uses MBOX if MCCQ has not been created. Doing this reduces
code duplication; we don't need the _mbox/_mccq() variants anymore.

Signed-off-by: Vasundhara Volam <vasundhara.volam@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_cmds.c