summaryrefslogtreecommitdiffhomepage
path: root/src/loader/dsk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/loader/dsk.c')
-rw-r--r--src/loader/dsk.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/loader/dsk.c b/src/loader/dsk.c
deleted file mode 100644
index 5e8fc3d..0000000
--- a/src/loader/dsk.c
+++ /dev/null
@@ -1,20 +0,0 @@
-// MIT License, Copyright (c) 2021 Marvin Borner
-
-#include <dsk.h>
-#include <fs/ext2.h>
-#include <log.h>
-#include <mbr.h>
-#include <pnc.h>
-
-void dsk_detect(struct dev *dev)
-{
- assert(dev->type == DEV_DISK);
-
- if (mbr_detect(dev))
- return;
-
- if (ext2_detect(dev))
- return;
-
- log("[DSK] Couldn't detect type of disk %s\n", dev->name);
-}