remove never used

'path' is defined but never used.