diff options
| author | Ido Schimmel <[email protected]> | 2021-06-24 19:47:24 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-06-24 22:41:55 +0000 |
| commit | 911bd1b1f08f31b74607c3e989955b97da588279 (patch) | |
| tree | 9ebb4ae484347d88d57b953e6b6bcba013a1d257 /net/switchdev/switchdev.c | |
| parent | gve: Fix warnings reported for DQO patchset (diff) | |
| download | kernel-911bd1b1f08f31b74607c3e989955b97da588279.tar.gz kernel-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 <[email protected]>
Reviewed-by: Jiri Pirko <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
