From: Zbigniew Jędrzejewski-Szmek Date: Wed, 4 Apr 2018 07:05:56 +0000 (+0200) Subject: dissect: drop unnecessary parenthesis X-Git-Tag: v239~425^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0cfa78ddf791a87a1c9bfdb41a6435de27a89ae9;p=thirdparty%2Fsystemd.git dissect: drop unnecessary parenthesis --- diff --git a/src/shared/dissect-image.c b/src/shared/dissect-image.c index f5de54d9fe5..e3213620a9a 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) {