summaryrefslogtreecommitdiff
path: root/src/shared/util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-01-19 04:41:33 +0100
committerLennart Poettering <lennart@poettering.net>2013-01-21 01:04:16 +0100
commit34e5a31ec5897de8ba1436dad53df99637569d0a (patch)
treeb9cdf255a4af787ac20905f25878cafb5266ec59 /src/shared/util.c
parente1af7092a8e124eff5f7a668f0f1562c4df4b02f (diff)
util: move is_efiboot() to efivars.c
Diffstat (limited to 'src/shared/util.c')
-rw-r--r--src/shared/util.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/shared/util.c b/src/shared/util.c
index 1aaebf0612..490399c910 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -77,10 +77,6 @@ char **saved_argv = NULL;
static volatile unsigned cached_columns = 0;
static volatile unsigned cached_lines = 0;
-bool is_efiboot(void) {
- return access("/sys/firmware/efi", F_OK) >= 0;
-}
-
size_t page_size(void) {
static __thread size_t pgsz = 0;
long r;