mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 01:27:11 +03:00
dissect: drop unnecessary parenthesis
This commit is contained in:
parent
5c69b31c13
commit
0cfa78ddf7
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user