summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2016-10-12 08:33:21 (GMT)
committerDavid Sterba <dsterba@suse.com>2016-10-24 16:20:29 (GMT)
commit9c894696f56f5d84fb5766af81bcda4a7cb9a842 (patch)
treeec9abee1550c947b9effa966fe2281e450d3797f /ipc
parentdd4b857aabbce57518f2d32d9805365d3ff34fc6 (diff)
downloadlinux-9c894696f56f5d84fb5766af81bcda4a7cb9a842.tar.xz
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 'ipc')
0 files changed, 0 insertions, 0 deletions