random: remove non Haiku code.

This commit is contained in:
Jérôme Duval 2013-10-23 22:14:05 +02:00
parent ef5eccf6b3
commit c5603138e5

View File

@ -122,18 +122,10 @@ random_select(void *cookie, uint8 event, selectsync *sync)
if (event == B_SELECT_READ) {
/* tell there is already data to read */
#ifndef HAIKU_TARGET_PLATFORM_HAIKU
notify_select_event(sync, ref);
#else
notify_select_event(sync, event);
#endif
} else if (event == B_SELECT_WRITE) {
/* we're now writable */
#ifndef HAIKU_TARGET_PLATFORM_HAIKU
notify_select_event(sync, ref);
#else
notify_select_event(sync, event);
#endif
}
return B_OK;
}