aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_dcb_lib.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2021-06-24 22:47:24 +0300
committerDavid S. Miller <davem@davemloft.net>2021-06-24 15:41:55 -0700
commit911bd1b1f08f31b74607c3e989955b97da588279 (patch)
tree9ebb4ae484347d88d57b953e6b6bcba013a1d257 /drivers/net/ethernet/intel/ice/ice_dcb_lib.c
parentgve: Fix warnings reported for DQO patchset (diff)
downloadlinux-rng-911bd1b1f08f31b74607c3e989955b97da588279.tar.xz
linux-rng-911bd1b1f08f31b74607c3e989955b97da588279.zip
mlxsw: core_env: Avoid unnecessary memcpy()s
Simply get a pointer to the data in the register payload instead of copying it to a temporary buffer. Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_dcb_lib.c')
0 files changed, 0 insertions, 0 deletions