Remove unused local var and already completed TODO

Signed-off-by: Ross Allan <rallanpcl@gmail.com>