summaryrefslogtreecommitdiff
path: root/src/rfkill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rfkill.c')
-rw-r--r--src/rfkill.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/rfkill.c b/src/rfkill.c
index e978d712..e21b2a15 100644
--- a/src/rfkill.c
+++ b/src/rfkill.c
@@ -164,9 +164,6 @@ int __connman_rfkill_block(enum connman_service_type type, connman_bool_t block)
DBG("type %d block %d", type, block);
-#if defined DISABLE_RFKILL
- DBG("rfkill is disabled by default");
-#else
rfkill_type = convert_service_type(type);
if (rfkill_type == NUM_RFKILL_TYPES)
return -EINVAL;
@@ -188,7 +185,6 @@ int __connman_rfkill_block(enum connman_service_type type, connman_bool_t block)
err = 0;
close(fd);
-#endif
return err;
}