commit | 9c894696f56f5d84fb5766af81bcda4a7cb9a842 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Oct 12 11:33:21 2016 +0300 |
committer | David Sterba <dsterba@suse.com> | Mon Oct 24 18:20:29 2016 +0200 |
tree | ec9abee1550c947b9effa966fe2281e450d3797f | |
parent | dd4b857aabbce57518f2d32d9805365d3ff34fc6 [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>