Skip to contentSkip to conversation

gzio: Remove confusing, out-dated comment

PATCH In review Glenn Washburn 2 participants 2 messages Jan 10, 2023 – Jan 11, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gzio: Remove confusing, out-dated comment

The "transparent" parameter to grub_gzio_open was removed in 2010, fc2ef1172c (* grub-core/io/gzio.c (grub_gzio_open): Removed "transparent" parameter.)

---
 grub-core/io/gzio.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
grub-core/io/gzio.c +4 -3
index 4fa31ff218..ca93557513 100644
@@ -1188,9 +1188,10 @@ initialize_tables (grub_gzio_t gzio)
 }
 
 
-/* Open a new decompressing object on the top of IO. If TRANSPARENT is true,
-   even if IO does not contain data compressed by gzip, return a valid file
-   object. Note that this function won't close IO, even if an error occurs.  */
+/*
+ * Open a new decompressing object on the top of IO.
+ * Note that this function won't close IO, even if an error occurs.
+ */
 static grub_file_t
 grub_gzio_open (grub_file_t io, enum grub_file_type type)
 {
Signature · 1 line
2.34.1