Removed unneeded var definition as the var is not used anymore

Found this var while debugging. that $fname is not used anymore. Don't think this is a global var or something. 

Not an issue itself so not adding noise in jira. Let me know if you prefer to do it.