Skip to content
Commit 009482c0 authored by Yang Guang's avatar Yang Guang Committed by Shuah Khan
Browse files

selftests/move_mount_set_group remove unneeded conversion to bool



The coccinelle report
./tools/testing/selftests/move_mount_set_group/move_mount_set_group_test.c:225:18-23:
WARNING: conversion to bool not needed here
Relational and logical operators evaluate to bool,
explicit conversion is overly verbose and unneeded.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarYang Guang <yang.guang5@zte.com.cn>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
parent 6d425d7c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment