[PATCH 02/10] setupapi: Separate a copy_inf() helper.