swr: remove unused variable