Skip to content

Commit

Permalink
random: remove non Haiku code.
Browse files Browse the repository at this point in the history
  • Loading branch information
korli committed Oct 24, 2013
1 parent ef5eccf commit c560313
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/add-ons/kernel/bus_managers/random/driver.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit c560313

Please sign in to comment.