]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
btrfs-util: Drop redundant parentheses
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 13 Jun 2023 13:53:15 +0000 (15:53 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 13 Jun 2023 14:13:22 +0000 (16:13 +0200)
src/shared/btrfs-util.c

index 429e5afe117e1002c2907517c6b6a3f2eab2adb0..f86645e4eed91859a1afe2857c84984d4cdbef88 100644 (file)
@@ -78,7 +78,7 @@ int btrfs_is_subvol_at(int dir_fd, const char *path) {
 
         /* On btrfs subvolumes always have the inode 256 */
 
-        if (fstatat(dir_fd, strempty(path), &st, (isempty(path) ? AT_EMPTY_PATH : 0)) < 0)
+        if (fstatat(dir_fd, strempty(path), &st, isempty(path) ? AT_EMPTY_PATH : 0) < 0)
                 return -errno;
 
         if (!btrfs_might_be_subvol(&st))