Skip to content
Commit 3a5e5234 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

devlink: remove pointless data_len arg from region snapshot create



The size of the snapshot has to be the same as the size of the region,
therefore no need to pass it again during snapshot creation. Remove the
arg and use region->size instead.

Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1a991488
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment