diff options
Diffstat (limited to 'firmware/common/dir_uncached.c')
-rw-r--r-- | firmware/common/dir_uncached.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/common/dir_uncached.c b/firmware/common/dir_uncached.c index e4c4397fe2..00123c1b07 100644 --- a/firmware/common/dir_uncached.c +++ b/firmware/common/dir_uncached.c | |||
@@ -36,7 +36,6 @@ | |||
36 | 36 | ||
37 | static DIR_UNCACHED opendirs[MAX_OPEN_DIRS]; | 37 | static DIR_UNCACHED opendirs[MAX_OPEN_DIRS]; |
38 | 38 | ||
39 | #ifdef HAVE_HOTSWAP | ||
40 | // release all dir handles on a given volume "by force", to avoid leaks | 39 | // release all dir handles on a given volume "by force", to avoid leaks |
41 | int release_dirs(int volume) | 40 | int release_dirs(int volume) |
42 | { | 41 | { |
@@ -57,7 +56,6 @@ int release_dirs(int volume) | |||
57 | } | 56 | } |
58 | return closed; /* return how many we did */ | 57 | return closed; /* return how many we did */ |
59 | } | 58 | } |
60 | #endif /* #ifdef HAVE_HOTSWAP */ | ||
61 | 59 | ||
62 | DIR_UNCACHED* opendir_uncached(const char* name) | 60 | DIR_UNCACHED* opendir_uncached(const char* name) |
63 | { | 61 | { |