summaryrefslogtreecommitdiff
path: root/disk
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-08-11 19:34:54 -0600
committerTom Rini <trini@konsulko.com>2022-09-16 11:05:16 -0400
commitf512388ed8fbea6e5aefa2950e4b9673706ebfbe (patch)
treef3e54ef8cb090a354cd360d1d15c5808a02112eb /disk
parent606e0542b591efa5cf2927dfbfe9569c7264b01a (diff)
blk: Drop IF_TYPE_ATAPI
This is not really needed since it does the same things as IDE. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'disk')
-rw-r--r--disk/part.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/disk/part.c b/disk/part.c
index 5f64da54e5..a5c1d7a0ae 100644
--- a/disk/part.c
+++ b/disk/part.c
@@ -128,7 +128,6 @@ void dev_print (struct blk_desc *dev_desc)
dev_desc->product,
dev_desc->revision);
break;
- case IF_TYPE_ATAPI:
case IF_TYPE_IDE:
case IF_TYPE_SATA:
printf ("Model: %s Firm: %s Ser#: %s\n",
@@ -257,9 +256,6 @@ static void print_part_header(const char *type, struct blk_desc *dev_desc)
case IF_TYPE_SCSI:
puts ("SCSI");
break;
- case IF_TYPE_ATAPI:
- puts ("ATAPI");
- break;
case IF_TYPE_USB:
puts ("USB");
break;
@@ -767,7 +763,6 @@ void part_set_generic_name(const struct blk_desc *dev_desc,
switch (dev_desc->if_type) {
case IF_TYPE_IDE:
case IF_TYPE_SATA:
- case IF_TYPE_ATAPI:
devtype = "hd";
break;
case IF_TYPE_SCSI: