remove unused variable

"make all" and "make check" passed!
thanks