code: @Override
      public synchronized void removeListener(SerialDataEventListener... listener) {
          // remove the listener from the list of listeners
          for (SerialDataEventListener lsnr : listener) {
              listeners.remove(lsnr);
          }
      }
docs: <p>Remove Serial Event Listener</p>
  
  <p> Java consumer code can call this method to unregister itself as a listener for serial data
  events. </p>
  
  @see com.pi4j.io.serial.SerialDataEventListener
  @see com.pi4j.io.serial.SerialDataEvent
  
  @param listener A class instance that implements the SerialListener interface.