diff options
author | David Sterba <dsterba@suse.com> | 2024-05-20 20:48:06 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-07-11 15:33:19 +0200 |
commit | 840a97bdef1e5d7bd8bf147812df416cca15afc7 (patch) | |
tree | 1399199e0c9e97a6f6d3d8fdaa5f1791b4133cda /fs/btrfs/dev-replace.c | |
parent | 5100c4eb527ebe175d3dbaeb0b8cc04f312183d7 (diff) | |
download | linux-840a97bdef1e5d7bd8bf147812df416cca15afc7.tar.gz linux-840a97bdef1e5d7bd8bf147812df416cca15afc7.tar.bz2 linux-840a97bdef1e5d7bd8bf147812df416cca15afc7.zip |
btrfs: keep const when returning value from get_unaligned_le8()
This was reported by 'gcc -Wcast-qual', the get_unaligned_le8() simply
returns the argument and there's no reason to drop the cast.
Reviewed-by: Boris Burkov <boris@bur.io>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Reviewed-by: Naohiro Aota <naohiro.aota@wdc.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions