From 0cfa78ddf791a87a1c9bfdb41a6435de27a89ae9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 4 Apr 2018 09:05:56 +0200 Subject: [PATCH] dissect: drop unnecessary parenthesis --- src/shared/dissect-image.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {