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>
Showing
- Documentation/isdn/interface_capi.rst 0 additions, 71 deletionsDocumentation/isdn/interface_capi.rst
- drivers/isdn/Makefile 1 addition, 1 deletiondrivers/isdn/Makefile
- drivers/isdn/capi/Kconfig 4 additions, 28 deletionsdrivers/isdn/capi/Kconfig
- drivers/isdn/capi/Makefile 3 additions, 15 deletionsdrivers/isdn/capi/Makefile
- drivers/isdn/capi/capi.c 13 additions, 1 deletiondrivers/isdn/capi/capi.c
- drivers/isdn/capi/capilib.c 0 additions, 202 deletionsdrivers/isdn/capi/capilib.c
- drivers/isdn/capi/capiutil.c 4 additions, 227 deletionsdrivers/isdn/capi/capiutil.c
- drivers/isdn/capi/kcapi.c 8 additions, 401 deletionsdrivers/isdn/capi/kcapi.c
- drivers/isdn/capi/kcapi.h 140 additions, 9 deletionsdrivers/isdn/capi/kcapi.h
- drivers/isdn/capi/kcapi_proc.c 6 additions, 28 deletionsdrivers/isdn/capi/kcapi_proc.c
- include/linux/isdn/capilli.h 0 additions, 18 deletionsinclude/linux/isdn/capilli.h
- include/linux/isdn/capiutil.h 0 additions, 456 deletionsinclude/linux/isdn/capiutil.h
- include/linux/kernelcapi.h 0 additions, 75 deletionsinclude/linux/kernelcapi.h
- include/uapi/linux/b1lli.h 0 additions, 74 deletionsinclude/uapi/linux/b1lli.h
Loading
Please register or sign in to comment