From: Matthew Wilcox Date: Tue, 17 Mar 2009 12:54:07 +0000 (-0400) Subject: PCI MSI: msi_desc->dev is always initialised X-Git-Tag: v2.6.30-rc1~419^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=379f5327a86f7822a51ec7d088a085167724df75;p=pandora-kernel.git 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 Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed