From 3d47b3b24d391df4fbaf314f8459169a4464d35d Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Sat, 30 Jun 2018 16:03:31 +0200 Subject: [PATCH] tests: remove duplicate file_exists() definition Signed-off-by: Christian Brauner --- src/tests/attach.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/tests/attach.c b/src/tests/attach.c index 7a1519b9f..07e641d56 100644 --- a/src/tests/attach.c +++ b/src/tests/attach.c @@ -47,13 +47,6 @@ static const char *lsm_config_key = NULL; static const char *lsm_label = NULL; -bool file_exists(const char *f) -{ - struct stat statbuf; - - return stat(f, &statbuf) == 0; -} - static void test_lsm_detect(void) { if (lsm_enabled()) { -- 2.47.2