aboutsummaryrefslogtreecommitdiffstats
path: root/erts
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2014-12-03 23:53:40 +0100
committerRickard Green <[email protected]>2014-12-03 23:53:40 +0100
commit58f42056a6386b16edd647721df046db3581739b (patch)
tree98beeec0c51f18aa1adb5e4b0dcedd324c4ba4dd /erts
parentc518db7a00b116ce9cbe02a0c4b2d16f6bfde1ca (diff)
parente0414e9f0f5924e3f794dd824715f96313198987 (diff)
downloadotp-58f42056a6386b16edd647721df046db3581739b.tar.gz
otp-58f42056a6386b16edd647721df046db3581739b.tar.bz2
otp-58f42056a6386b16edd647721df046db3581739b.zip
Merge branch 'maint'
* maint: Fix function "defined but not used" warning
Diffstat (limited to 'erts')
-rw-r--r--erts/emulator/sys/common/erl_check_io.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/sys/common/erl_check_io.c b/erts/emulator/sys/common/erl_check_io.c
index 81cb5dc4bb..0051b45b31 100644
--- a/erts/emulator/sys/common/erl_check_io.c
+++ b/erts/emulator/sys/common/erl_check_io.c
@@ -268,6 +268,8 @@ free_drv_select_data(ErtsDrvSelectDataState *dsp)
erts_free(ERTS_ALC_T_DRV_SEL_D_STATE, dsp);
}
+#if ERTS_CIO_HAVE_DRV_EVENT
+
static ERTS_INLINE ErtsDrvEventDataState *
alloc_drv_event_data(void)
{
@@ -290,6 +292,8 @@ free_drv_event_data(ErtsDrvEventDataState *dep)
erts_free(ERTS_ALC_T_DRV_EV_D_STATE, dep);
}
+#endif /* ERTS_CIO_HAVE_DRV_EVENT */
+
static ERTS_INLINE void
remember_removed(ErtsDrvEventState *state, struct pollset_info* psi)
{