isdn: capi: dead code removal
authorArnd Bergmann <arnd@arndb.de>
Tue, 10 Dec 2019 20:59:16 +0000 (21:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 11 Dec 2019 08:12:38 +0000 (09:12 +0100)
commitf59aba2f75795e5b6a4f1aa31f3e20d7b71ca804
tree161acd6cf785d9b97d8a30b328fff755929f811d
parentf10870b05d5edc0652701c6a92eafcab5044795f
isdn: capi: dead code removal

The staging isdn drivers are gone, and CONFIG_BT_CMTP is now
the only user. This means a lot of the code in the subsystem
has no remaining callers and can be removed.

Change the capi user space front-end to be part of kernelcapi,
and the combined module to only be compiled if BT_CMTP is
also enabled, then remove the interfaces that have no remaining
callers.

As the notifier list and the capi_drivers list have no callers
outside of kcapi.c, the implementation gets much simpler.

Some definitions from the include/linux/*.h headers are only
needed internally and are moved to kcapi.h.

Acked-by: David Miller <davem@davemloft.net>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20191210210455.3475361-2-arnd@arndb.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
14 files changed:
Documentation/isdn/interface_capi.rst
drivers/isdn/Makefile
drivers/isdn/capi/Kconfig
drivers/isdn/capi/Makefile
drivers/isdn/capi/capi.c
drivers/isdn/capi/capilib.c [deleted file]
drivers/isdn/capi/capiutil.c
drivers/isdn/capi/kcapi.c
drivers/isdn/capi/kcapi.h
drivers/isdn/capi/kcapi_proc.c
include/linux/isdn/capilli.h
include/linux/isdn/capiutil.h
include/linux/kernelcapi.h
include/uapi/linux/b1lli.h [deleted file]