glpi: remove useless code