浏览代码

s390/zcrypt: remove unused functions and declarations

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>
Harald Freudenberger 7 年之前
父节点
当前提交
2c957a8ad4
共有 2 个文件被更改,包括 0 次插入8 次删除
  1. 0 5
      drivers/s390/crypto/ap_bus.c
  2. 0 3
      drivers/s390/crypto/ap_bus.h

+ 0 - 5
drivers/s390/crypto/ap_bus.c

@@ -1226,11 +1226,6 @@ int __init ap_debug_init(void)
 	return 0;
 }
 
-void ap_debug_exit(void)
-{
-	debug_unregister(ap_dbf_info);
-}
-
 /**
  * ap_module_init(): The module initialization code.
  *

+ 0 - 3
drivers/s390/crypto/ap_bus.h

@@ -240,7 +240,4 @@ 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);
-
 #endif /* _AP_BUS_H_ */