]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/target/target_core_tpg.c
target: fix return code of core_tpg_.*_lun
[karo-tx-linux.git] / drivers / target / target_core_tpg.c
index 8ddd133025b932a98a5968bfeb4f30b0d396a3d2..06336ecd872df683e8d2ac08e61d2898d03cfcb9 100644 (file)
 #include <scsi/scsi_cmnd.h>
 
 #include <target/target_core_base.h>
-#include <target/target_core_device.h>
-#include <target/target_core_tpg.h>
-#include <target/target_core_transport.h>
-#include <target/target_core_fabric_ops.h>
+#include <target/target_core_backend.h>
+#include <target/target_core_fabric.h>
 
-#include "target_core_hba.h"
-#include "target_core_stat.h"
+#include "target_core_internal.h"
 
 extern struct se_device *g_lun0_dev;
 
@@ -810,8 +807,7 @@ static void core_tpg_shutdown_lun(
 
 struct se_lun *core_tpg_pre_dellun(
        struct se_portal_group *tpg,
-       u32 unpacked_lun,
-       int *ret)
+       u32 unpacked_lun)
 {
        struct se_lun *lun;