diff options
author | Ido Schimmel <idosch@nvidia.com> | 2021-06-24 22:47:24 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-24 15:41:55 -0700 |
commit | 911bd1b1f08f31b74607c3e989955b97da588279 (patch) | |
tree | 9ebb4ae484347d88d57b953e6b6bcba013a1d257 /drivers/reset | |
parent | e8192476de58f044576adb2179dd1a05e3a9e903 (diff) |
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/reset')
0 files changed, 0 insertions, 0 deletions