diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-04-04 09:05:56 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-04-07 20:05:58 +0200 |
commit | 0cfa78ddf791a87a1c9bfdb41a6435de27a89ae9 (patch) | |
tree | fcccdbdc1354e82855638bf1bc2d36e3b34975b2 /src/shared/dissect-image.c | |
parent | analyze: Do no require a full d-bus bus for the plot command (#8539) (diff) | |
download | systemd-0cfa78ddf791a87a1c9bfdb41a6435de27a89ae9.tar.xz systemd-0cfa78ddf791a87a1c9bfdb41a6435de27a89ae9.zip |
dissect: drop unnecessary parenthesis
Diffstat (limited to '')
-rw-r--r-- | src/shared/dissect-image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/dissect-image.c b/src/shared/dissect-image.c index f5de54d9fe..e3213620a9 100644 --- a/src/shared/dissect-image.c +++ b/src/shared/dissect-image.c @@ -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) { |