bnxt_en: Cleanup bnxt_hwrm_func_cfg().
authorMichael Chan <mchan@broadcom.com>
Sun, 27 Dec 2015 23:19:25 +0000 (18:19 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Dec 2015 05:57:28 +0000 (00:57 -0500)
commit92268c328a8dae4635b3deaca52a8ed329642219
tree35bf78b84050d8a8f02268048ddede79ab66c62f
parent2bcfa6f6e7cf867e4aa623f84caea4bc413d38c9
bnxt_en: Cleanup bnxt_hwrm_func_cfg().

1. Use local variable pf for repeated access to this pointer.

2.  The 2nd argument num_vfs was unnecessarily declared as pointer to int.
This function doesn't change num_vfs so change the argument to int.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c