diff options
author | Jacob Keller <[email protected]> | 2023-02-22 09:09:16 -0800 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2023-03-13 11:06:06 -0700 |
commit | 3f22fc3131b814f0d5d1ce6d94fb8239e6df1754 (patch) | |
tree | 79bc2d6c80b4a81217d27a20b7ffa50bbd2f9e71 /drivers/net/ethernet/intel/ice/ice_main.c | |
parent | 4f0636fef61ad0b22fed4fb06f369d6ba38f807d (diff) |
ice: remove unnecessary &array[0] and just use array
In ice_is_malicious_vf we print the VF MAC address using %pM by passing the
address of the first element of vf->dev_lan_addr. This is equivalent to
just passing vf->dev_lan_addr, so do that.
Signed-off-by: Jacob Keller <[email protected]>
Reviewed-by: Michal Swiatkowski <[email protected]>
Tested-by: Marek Szlosek <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions