summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os/sunddi.c
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2022-07-30 19:55:06 -0400
committerGarrett D'Amore <garrett@damore.org>2022-08-04 20:38:47 -0400
commitb75a8b718b0b6c50c43b47b15603947383771a04 (patch)
tree14ab67b870e1160b493c13d8fac8c3e63443cce4 /usr/src/uts/common/os/sunddi.c
parent5b2c4190a831f52d91a5b92473ffb5a06e84511d (diff)
downloadillumos-gate-b75a8b718b0b6c50c43b47b15603947383771a04.tar.gz
14873 Retire ddi_getiminor()
Reviewed by: Peter Tribble <peter.tribble@gmail.com> Approved by: Andrew Stormont <andyjstormont@gmail.com> Approved by: Dan McDonald <danmcd@mnx.io>
Diffstat (limited to 'usr/src/uts/common/os/sunddi.c')
-rw-r--r--usr/src/uts/common/os/sunddi.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/usr/src/uts/common/os/sunddi.c b/usr/src/uts/common/os/sunddi.c
index 06ade6cc58..27158e8810 100644
--- a/usr/src/uts/common/os/sunddi.c
+++ b/usr/src/uts/common/os/sunddi.c
@@ -21,7 +21,7 @@
/*
* Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
- * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ * Copyright 2022 Garrett D'Amore
*/
#include <sys/note.h>
@@ -5325,16 +5325,6 @@ ddi_append_minor_node(dev_info_t *ddip, struct ddi_minor_data *dmdp)
ndi_devi_exit(ddip, circ);
}
-/*
- * Part of the obsolete SunCluster DDI Hooks.
- * Keep for binary compatibility
- */
-minor_t
-ddi_getiminor(dev_t dev)
-{
- return (getminor(dev));
-}
-
static int
i_log_devfs_minor_create(dev_info_t *dip, char *minor_name)
{