summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@linux.intel.com>2009-03-17 13:54:07 +0100
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-03-20 18:48:12 +0100
commit379f5327a86f7822a51ec7d088a085167724df75 (patch)
treefb69768e7b05143d456b0c67d423018d9767be99 /include
parentPCI MSI: Replace 'type' with 'is_msix' (diff)
downloadlinux-379f5327a86f7822a51ec7d088a085167724df75.tar.xz
linux-379f5327a86f7822a51ec7d088a085167724df75.zip
PCI MSI: msi_desc->dev is always initialised
By passing the pci_dev into alloc_msi_entry() we can be sure that the ->dev entry is always assigned and so we don't need to check it. Also, we used kzalloc() so we don't need to initialise ->irq to 0. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions