aboutsummaryrefslogtreecommitdiff
path: root/sys/pccard
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pccard')
-rw-r--r--sys/pccard/pccard_nbk.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/pccard/pccard_nbk.c b/sys/pccard/pccard_nbk.c
index f5c97a8bc446f..99b21226b116b 100644
--- a/sys/pccard/pccard_nbk.c
+++ b/sys/pccard/pccard_nbk.c
@@ -382,13 +382,6 @@ pccard_get_memory_offset(device_t bus, device_t child, int rid,
#if __FreeBSD_version >= 500000
static int
-pccard_get_function_num(device_t bus, device_t child, int *function)
-{
- *function = 0;
- return (0);
-}
-
-static int
pccard_activate_function(device_t bus, device_t child)
{
/* pccardd has alrady activated the function */
@@ -439,7 +432,6 @@ static device_method_t pccard_methods[] = {
DEVMETHOD(card_set_memory_offset, pccard_set_memory_offset),
DEVMETHOD(card_get_memory_offset, pccard_get_memory_offset),
#if __FreeBSD_version >= 500000
- DEVMETHOD(card_get_function, pccard_get_function_num),
DEVMETHOD(card_activate_function, pccard_activate_function),
DEVMETHOD(card_deactivate_function, pccard_deactivate_function),
DEVMETHOD(card_compat_do_probe, pccard_compat_do_probe),