[SCSI] qla2xxx: Use pcie_is_pcie() to simplify code
[SCSI] qla2xxx: Use pcie_is_pcie() to simplify code

Use pci_is_pcie() instead of pci_find_capability() to simplify code.

Signed-off-by: Yijing Wang <ac442ed3e729ed4f09d087e9c319e1c47c72d6f1@huawei.com>
Signed-off-by: Bjorn Helgaas <f10ec01be0c6b54271af5c550cd257810bdf3268@google.com>
Acked-by: Chad Dupuis <2981c6370b0db855ea005c1823de8ec941ffd48d@qlogic.com>
Cc: Andrew Vasquez <67840a4977006af7f584bdc4c86d7243c1629cad@qlogic.com>
Cc: 2e329812ac3da4f8db052bdfb3638e5b9d996322@qlogic.com
Cc: "James E.J. Bottomley" <1acebbdca565c7b6b638bdc23b58b5610d1a56b8@parallels.com>
KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs