summaryrefslogtreecommitdiff
path: root/sbin/pdisk/pathname.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/pdisk/pathname.c')
-rw-r--r--sbin/pdisk/pathname.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sbin/pdisk/pathname.c b/sbin/pdisk/pathname.c
index 9675483ca16..a149ddf1ffa 100644
--- a/sbin/pdisk/pathname.c
+++ b/sbin/pdisk/pathname.c
@@ -90,9 +90,7 @@ next_media_kind(long *state)
switch (ix) {
case 0:
-#if defined(__linux__) || defined(__unix__)
result = create_file_iterator();
-#endif
ix = 1;
if (result != 0) {
break;