]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit60808d7b411757ec00ef95afa2462ce01ef53b5a
tree284763a72e868e5090c1a81be3b5abb0c6a7d018
parente781bbaa074f5b2806cda200471ed8de41c3eb78
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