ISPN-4449 Removed unused class and methods

https://issues.jboss.org/browse/ISPN-4449

Some trivial changes missed from https://github.com/infinispan/infinispan/pull/2676