summaryrefslogtreecommitdiff
path: root/debian/patches/0006-boot-drop-obsolete-device-procedures.patch
blob: 9cb65ad6a85a96da9f7fbecef847194ffc4182f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
From 49a4a6102da2217aae1599788f879642d0337424 Mon Sep 17 00:00:00 2001
From: Justus Winter <4winter@informatik.uni-hamburg.de>
Date: Thu, 6 Nov 2014 18:49:06 +0100
Subject: [PATCH hurd 06/14] boot: drop obsolete device procedures

* boot/boot.c (ds_xxx_device_set_status): Remove function.
(ds_xxx_device_get_status): Likewise.
(ds_xxx_device_set_filter): Likewise.
---
 boot/boot.c | 34 ----------------------------------
 1 file changed, 34 deletions(-)

diff --git a/boot/boot.c b/boot/boot.c
index 250018e..a655107 100644
--- a/boot/boot.c
+++ b/boot/boot.c
@@ -1118,40 +1118,6 @@ ds_device_read_inband (device_t device,
 }
 
 kern_return_t
-ds_xxx_device_set_status (device_t device,
-			  dev_flavor_t flavor,
-			  dev_status_t status,
-			  size_t statu_cnt)
-{
-  if (device != pseudo_console)
-    return D_NO_SUCH_DEVICE;
-  return D_INVALID_OPERATION;
-}
-
-kern_return_t
-ds_xxx_device_get_status (device_t device,
-			  dev_flavor_t flavor,
-			  dev_status_t status,
-			  size_t *statuscnt)
-{
-  if (device != pseudo_console && device != pseudo_root)
-    return D_NO_SUCH_DEVICE;
-  return D_INVALID_OPERATION;
-}
-
-kern_return_t
-ds_xxx_device_set_filter (device_t device,
-			  mach_port_t rec,
-			  int pri,
-			  filter_array_t filt,
-			  size_t len)
-{
-  if (device != pseudo_console && device != pseudo_root)
-    return D_NO_SUCH_DEVICE;
-  return D_INVALID_OPERATION;
-}
-
-kern_return_t
 ds_device_map (device_t device,
 	       vm_prot_t prot,
 	       vm_offset_t offset,
-- 
2.1.1