[PATCH] uml: remove unused variable and function