`inData` is not used in the function. Is this dead code or a bug ?