[PATCH] uml: remove NULL checks and add some CodingStyle