mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
qla2x00t-32gbit: Simplify qlt_lport_dump()
This patch does not change any functionality. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8341 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -6519,22 +6519,10 @@ void qlt_remove_target_resources(struct qla_hw_data *ha)
|
||||
static void qlt_lport_dump(struct scsi_qla_host *vha, u64 wwpn,
|
||||
unsigned char *b)
|
||||
{
|
||||
int i;
|
||||
|
||||
pr_debug("qla2xxx HW vha->node_name: ");
|
||||
for (i = 0; i < WWN_SIZE; i++)
|
||||
pr_debug("%02x ", vha->node_name[i]);
|
||||
pr_debug("\n");
|
||||
pr_debug("qla2xxx HW vha->port_name: ");
|
||||
for (i = 0; i < WWN_SIZE; i++)
|
||||
pr_debug("%02x ", vha->port_name[i]);
|
||||
pr_debug("\n");
|
||||
|
||||
pr_debug("qla2xxx passed configfs WWPN: ");
|
||||
pr_debug("qla2xxx HW vha->node_name: %8phC\n", vha->node_name);
|
||||
pr_debug("qla2xxx HW vha->port_name: %8phC\n", vha->port_name);
|
||||
put_unaligned_be64(wwpn, b);
|
||||
for (i = 0; i < WWN_SIZE; i++)
|
||||
pr_debug("%02x ", b[i]);
|
||||
pr_debug("\n");
|
||||
pr_debug("qla2xxx passed configfs WWPN: %8phC\n", b);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user