Clean up pipable WIM extraction
[wimlib] / src / resource.c
index e2a39991e2e4115a121134a67ac1046cbff22f8f..eac8089b2d644f1abb286197edfbec4e5b078e95 100644 (file)
@@ -1384,17 +1384,6 @@ wim_res_hdr_to_desc(const struct wim_reshdr *reshdr, WIMStruct *wim,
        }
 }
 
-/* Convert a stand-alone resource descriptor to a WIM resource header.  */
-void
-wim_res_desc_to_hdr(const struct wim_resource_descriptor *rdesc,
-                   struct wim_reshdr *reshdr)
-{
-       reshdr->offset_in_wim     = rdesc->offset_in_wim;
-       reshdr->size_in_wim       = rdesc->size_in_wim;
-       reshdr->flags             = rdesc->flags;
-       reshdr->uncompressed_size = rdesc->uncompressed_size;
-}
-
 /* Translates a WIM resource header from the on-disk format into an in-memory
  * format.  */
 void