diff options
author | Edward O'Callaghan <eocallaghan@alterapraxis.com> | 2016-05-01 00:06:27 +1000 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2016-05-01 00:06:27 +1000 |
commit | 991ca8eee2c13e39b8c53def35249ff9cb4e93fe (patch) | |
tree | e08a6b2e705119b8182cd6208a1daebc76d45823 /drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | |
parent | b89359bdf0f1e95a4c5f92300594ba9dde323fc4 (diff) |
amdkfd: Use the canonical form in branch predicates
Found-By: Coccinelle
Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_chardev.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c index 07ac724e3ec9..2925f5698e7e 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c +++ b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c @@ -109,7 +109,7 @@ static int kfd_open(struct inode *inode, struct file *filep) is_32bit_user_mode = in_compat_syscall(); - if (is_32bit_user_mode == true) { + if (is_32bit_user_mode) { dev_warn(kfd_device, "Process %d (32-bit) failed to open /dev/kfd\n" "32-bit processes are not supported by amdkfd\n", |