Remove ununsed fname template parameter

We initially used fname to pass the current function name into a template for
debugging purposes. This is not used anymore, let's remove it.
Remove unused TARGETS file