codegen: Remove unused function

This patch removes a function of the XML schema generator that is never used.
The change has no impact in the generated code.

Change-Id: I79fa56613fe904e4e1087d5bcb41f122b354f9ab
Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>