diff options
| author | Anand Jain <[email protected]> | 2020-11-03 13:49:43 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2020-12-08 15:54:08 +0100 |
| commit | b2598edf8b36f8b7c52e3f5f611c49cbd1c67b36 (patch) | |
| tree | 5daca46166266e6f9c7d08a5d56fdda37d0eed4f /tools/perf/scripts/python/bin | |
| parent | 3a160a933111241376799244e3587747af574b89 (diff) | |
btrfs: remove unused argument seed from btrfs_find_device
Commit 343694eee8d8 ("btrfs: switch seed device to list api"), missed to
check if the parameter seed is true in the function btrfs_find_device().
This tells it whether to traverse the seed device list or not.
After this commit, the argument is unused and can be removed.
In device_list_add() it's not necessary because fs_devices always points
to the device's fs_devices. So with the devid+uuid matching, it will
find the right device and return, thus not needing to traverse seed
devices.
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Anand Jain <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions