fix optimax build for htc kernel code. remove unused/uninitialized variable.