Commit 34a2c35d29a160b326bc63dfbff64ae38fe0a994
Committed by
Martin K. Petersen
1 parent
6a1961bc9c
atp870u: Reduce log spam on module load/unload
Signed-off-by: Ondrej Zary <linux@rainbow-software.org> Reviewed-by: Hannes Reinicke <hare@suse.de> Acked-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Showing 1 changed file with 1 additions and 6 deletions Side-by-side Diff
drivers/scsi/atp870u.c
... | ... | @@ -1260,9 +1260,7 @@ |
1260 | 1260 | if (pci_enable_device(pdev)) |
1261 | 1261 | goto err_eio; |
1262 | 1262 | |
1263 | - if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(32))) { | |
1264 | - printk(KERN_INFO "atp870u: use 32bit DMA mask.\n"); | |
1265 | - } else { | |
1263 | + if (pci_set_dma_mask(pdev, DMA_BIT_MASK(32))) { | |
1266 | 1264 | printk(KERN_ERR "atp870u: DMA mask required but not available.\n"); |
1267 | 1265 | goto err_eio; |
1268 | 1266 | } |
1269 | 1267 | |
1270 | 1268 | |
... | ... | @@ -1742,12 +1740,9 @@ |
1742 | 1740 | |
1743 | 1741 | |
1744 | 1742 | scsi_remove_host(pshost); |
1745 | - printk(KERN_INFO "free_irq : %d\n",pshost->irq); | |
1746 | 1743 | free_irq(pshost->irq, pshost); |
1747 | 1744 | release_region(pshost->io_port, pshost->n_io_port); |
1748 | - printk(KERN_INFO "atp870u_free_tables : %p\n",pshost); | |
1749 | 1745 | atp870u_free_tables(pshost); |
1750 | - printk(KERN_INFO "scsi_host_put : %p\n",pshost); | |
1751 | 1746 | scsi_host_put(pshost); |
1752 | 1747 | } |
1753 | 1748 | MODULE_LICENSE("GPL"); |