From 8458ff9ad18c518b774d16358e28a805057e4dc1 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Fri, 7 Apr 2023 15:57:28 -0500 Subject: [PATCH] remove extra change from support 16KB page size --- lib/config/config.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/config/config.c b/lib/config/config.c index 2bb55daeb..5986e64b1 100644 --- a/lib/config/config.c +++ b/lib/config/config.c @@ -540,9 +540,6 @@ int config_file_read_fd(struct dm_config_tree *cft, struct device *dev, dev_io_r log_sys_error("read", dev_name(dev)); goto out; } - - if (!sz) - goto out; } } else { if (!dev_read_bytes(dev, offset, size, buf))