commit | 92268c328a8dae4635b3deaca52a8ed329642219 | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Sun Dec 27 18:19:25 2015 -0500 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 28 00:57:28 2015 -0500 |
tree | 35bf78b84050d8a8f02268048ddede79ab66c62f | |
parent | 2bcfa6f6e7cf867e4aa623f84caea4bc413d38c9 [diff] |
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>