Delete unused var .
Merge pull request #1268 from hotoo/fix-rm-fn

Delete unused var `fn`.