Unused variable k

Delete variable