]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
s390/zcrypt: remove unused functions and declarations
authorHarald Freudenberger <freude@linux.vnet.ibm.com>
Tue, 27 Mar 2018 05:37:24 +0000 (07:37 +0200)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Fri, 9 Nov 2018 19:01:01 +0000 (17:01 -0200)
BugLink: https://bugs.launchpad.net/bugs/1799184
The AP bus code is not available as kernel module any more.
There was some leftover code dealing with kernel module
exit which has been removed with this patch.

Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
(backported from commit 2c957a8ad45991f3ef71da5c75ed2299f3d46a31)
[Context adjustments]
Signed-off-by: Frank Heimes <frank.heimes@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/s390/crypto/ap_bus.c
drivers/s390/crypto/ap_bus.h

index 7cc8fd4ce2007628462954fa77dd67ebe0e60221..dc82037ab05bbe6e7208dffccc3efea9e4cc7586 100644 (file)
@@ -1552,11 +1552,6 @@ int __init ap_debug_init(void)
        return 0;
 }
 
-void ap_debug_exit(void)
-{
-       debug_unregister(ap_dbf_info);
-}
-
 static void __init ap_perms_init(void)
 {
        /* all resources useable if no kernel parameter string given */
index 1dd51bfd2580e8563dc04fe39566452b4bf06fce..31459924d45a92a0c92adf5b8d9032a6920f861b 100644 (file)
@@ -256,9 +256,6 @@ void ap_queue_resume(struct ap_device *ap_dev);
 struct ap_card *ap_card_create(int id, int queue_depth, int raw_device_type,
                               int comp_device_type, unsigned int functions);
 
-int ap_module_init(void);
-void ap_module_exit(void);
-
 /*
  * check APQN for owned/reserved by ap bus and default driver(s).
  * Checks if this APQN is or will be in use by the ap bus