/* Search for either hba phys or expander device based on handle, then returns the sas_node object.  */
static struct _sas_node* _transport_sas_node_find_by_sas_address(struct MPT2SAS_ADAPTER *ioc, u64 sas_address)
/* Search for either hba phys or expander device based on handle, then returns the sas_node object.  */
static struct _sas_node* _transport_sas_node_find_by_sas_address(struct MPT2SAS_ADAPTER *ioc, u64 sas_address)
{
	if (ioc->sas_hba.sas_address == sas_address)
		return &ioc->sas_hba;
	else
		return mpt2sas_scsih_expander_find_by_sas_address(ioc,
		    sas_address);
}