Remove analyze_link
Remove unnecessary link variable