dissect: drop unnecessary parenthesis

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-04-04 09:05:56 +02:00
parent 5c69b31c13
commit 0cfa78ddf7

View file

@ -114,8 +114,8 @@ static bool device_is_mmc_special_partition(struct udev_device *d) {
const char *sysname;
sysname = udev_device_get_sysname(d);
return (sysname && startswith(sysname, "mmcblk") &&
(endswith(sysname, "rpmb") || endswith(sysname, "boot0") || endswith(sysname, "boot1")));
return sysname && startswith(sysname, "mmcblk") &&
(endswith(sysname, "rpmb") || endswith(sysname, "boot0") || endswith(sysname, "boot1"));
}
static bool device_is_block(struct udev_device *d) {