diff options
author | Matthew Wilcox <[email protected]> | 2009-03-17 08:54:07 -0400 |
---|---|---|
committer | Jesse Barnes <[email protected]> | 2009-03-20 10:48:12 -0700 |
commit | 379f5327a86f7822a51ec7d088a085167724df75 (patch) | |
tree | fb69768e7b05143d456b0c67d423018d9767be99 /net/lapb/lapb_subr.c | |
parent | 24d27553390c69d11cdbd930d635193956fc295f (diff) |
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 <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions