aboutsummaryrefslogtreecommitdiff
path: root/fs/file.c
diff options
context:
space:
mode:
authorDan Carpenter2016-10-12 11:33:21 +0300
committerDavid Sterba2016-10-24 18:20:29 +0200
commit9c894696f56f5d84fb5766af81bcda4a7cb9a842 (patch)
treeec9abee1550c947b9effa966fe2281e450d3797f /fs/file.c
parentdd4b857aabbce57518f2d32d9805365d3ff34fc6 (diff)
Btrfs: remove some no-op casts
We cast 0 to a u8 but then because of type promotion, it's immediately cast to int back to int before we do a bitwise negate. The cast doesn't matter in this case, the code works as intended. It causes a static checker warning though so let's remove it. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions