diff options
author | Jiang Liu <jiang.liu@linux.intel.com> | 2014-11-06 22:20:32 +0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-11-23 13:01:45 +0100 |
commit | 63a7b17e3fe8ef6217daa7be35e373c7807275f8 (patch) | |
tree | 80bd61e2aab4f7d30edb60c7752f73ee036b1eb0 /drivers/usb/host/fhci-hub.c | |
parent | 3f3cecaeaf441757029ead8a4554296745406731 (diff) |
PCI/MSI: Simplify PCI MSI code by initializing msi_desc.nvec_used earlier
Simplify PCI MSI code by initializing msi_desc.nvec_used and
msi_desc.msi_attrib.multiple when creating MSI descriptors.
Also remove redundant checks in IRQ remapping drivers, PCI MSI core
already guarantees these.
Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Yingjoe Chen <yingjoe.chen@mediatek.com>
Cc: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/usb/host/fhci-hub.c')
0 files changed, 0 insertions, 0 deletions