ncx: remove an unused variable