diff options
| author | Dan Carpenter <[email protected]> | 2023-10-12 09:42:55 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2023-11-03 15:38:51 +0000 |
| commit | b8212814d1e8428a082234223105e4071b844fab (patch) | |
| tree | 211035c6b62f80953757eac77d843fd72b394a6b /tools/net/ynl/generated/devlink-user.c | |
| parent | btrfs: use u64 for buffer sizes in the tree search ioctls (diff) | |
| download | kernel-b8212814d1e8428a082234223105e4071b844fab.tar.gz kernel-b8212814d1e8428a082234223105e4071b844fab.zip | |
btrfs: directly return 0 on no error code in btrfs_insert_raid_extent()
It's more obvious to return a literal zero instead of "return ret;".
Plus Smatch complains that ret could be uninitialized if the
ordered_extent->bioc_list list is empty and this silences that warning.
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/devlink-user.c')
0 files changed, 0 insertions, 0 deletions
