remove unused method of wifi module