core: Remove no used assignment