[PATCH] I2O: first code cleanup of spare warnings and unused functions