diff options
Diffstat (limited to 'drivers/s390/scsi/zfcp_dbf.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_dbf.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/s390/scsi/zfcp_dbf.c b/drivers/s390/scsi/zfcp_dbf.c index 466a689c538f..aecdc7f2dbc6 100644 --- a/drivers/s390/scsi/zfcp_dbf.c +++ b/drivers/s390/scsi/zfcp_dbf.c | |||
@@ -1302,15 +1302,6 @@ int zfcp_adapter_debug_register(struct zfcp_adapter *adapter) | |||
1302 | char dbf_name[DEBUG_MAX_NAME_LEN]; | 1302 | char dbf_name[DEBUG_MAX_NAME_LEN]; |
1303 | 1303 | ||
1304 | /* debug feature area which records recovery activity */ | 1304 | /* debug feature area which records recovery activity */ |
1305 | sprintf(dbf_name, "zfcp_%s_erp", zfcp_get_busid_by_adapter(adapter)); | ||
1306 | adapter->erp_dbf = debug_register(dbf_name, dbfsize, 2, | ||
1307 | sizeof(struct zfcp_erp_dbf_record)); | ||
1308 | if (!adapter->erp_dbf) | ||
1309 | goto failed; | ||
1310 | debug_register_view(adapter->erp_dbf, &debug_hex_ascii_view); | ||
1311 | debug_set_level(adapter->erp_dbf, 3); | ||
1312 | |||
1313 | /* debug feature area which records recovery activity */ | ||
1314 | sprintf(dbf_name, "zfcp_%s_rec", zfcp_get_busid_by_adapter(adapter)); | 1305 | sprintf(dbf_name, "zfcp_%s_rec", zfcp_get_busid_by_adapter(adapter)); |
1315 | adapter->rec_dbf = debug_register(dbf_name, dbfsize, 1, | 1306 | adapter->rec_dbf = debug_register(dbf_name, dbfsize, 1, |
1316 | sizeof(struct zfcp_rec_dbf_record)); | 1307 | sizeof(struct zfcp_rec_dbf_record)); |
@@ -1368,12 +1359,10 @@ void zfcp_adapter_debug_unregister(struct zfcp_adapter *adapter) | |||
1368 | debug_unregister(adapter->san_dbf); | 1359 | debug_unregister(adapter->san_dbf); |
1369 | debug_unregister(adapter->hba_dbf); | 1360 | debug_unregister(adapter->hba_dbf); |
1370 | debug_unregister(adapter->rec_dbf); | 1361 | debug_unregister(adapter->rec_dbf); |
1371 | debug_unregister(adapter->erp_dbf); | ||
1372 | adapter->scsi_dbf = NULL; | 1362 | adapter->scsi_dbf = NULL; |
1373 | adapter->san_dbf = NULL; | 1363 | adapter->san_dbf = NULL; |
1374 | adapter->hba_dbf = NULL; | 1364 | adapter->hba_dbf = NULL; |
1375 | adapter->rec_dbf = NULL; | 1365 | adapter->rec_dbf = NULL; |
1376 | adapter->erp_dbf = NULL; | ||
1377 | } | 1366 | } |
1378 | 1367 | ||
1379 | #undef ZFCP_LOG_AREA | 1368 | #undef ZFCP_LOG_AREA |