removed raspi-specific code
fixed coverity warning message (ua_list_removeLast, null pointer derefencing)