removed unused variable

Unused param might cause a problem if the feature is a cluster without a layer id. Removing it solves potential problems when implementing onFeatureSelected events.