summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/atp870u.c
diff options
context:
space:
mode:
authorOndrej Zary <linux@rainbow-software.org>2015-11-17 19:24:11 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2015-11-25 22:08:45 -0500
commit34a2c35d29a160b326bc63dfbff64ae38fe0a994 (patch)
tree0c42e6c0eb8982b7a66227d457d27ab916a6e829 /drivers/scsi/atp870u.c
parent6a1961bc9c8916fc40423cc71e44fd8c59fef360 (diff)
downloadlinux-stable-34a2c35d29a160b326bc63dfbff64ae38fe0a994.tar.gz
linux-stable-34a2c35d29a160b326bc63dfbff64ae38fe0a994.tar.bz2
linux-stable-34a2c35d29a160b326bc63dfbff64ae38fe0a994.zip
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>
Diffstat (limited to 'drivers/scsi/atp870u.c')
-rw-r--r--drivers/scsi/atp870u.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/scsi/atp870u.c b/drivers/scsi/atp870u.c
index 96214035b6d6..b662e395b5ea 100644
--- a/drivers/scsi/atp870u.c
+++ b/drivers/scsi/atp870u.c
@@ -1260,9 +1260,7 @@ static int atp870u_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
if (pci_enable_device(pdev))
goto err_eio;
- if (!pci_set_dma_mask(pdev, DMA_BIT_MASK(32))) {
- printk(KERN_INFO "atp870u: use 32bit DMA mask.\n");
- } else {
+ if (pci_set_dma_mask(pdev, DMA_BIT_MASK(32))) {
printk(KERN_ERR "atp870u: DMA mask required but not available.\n");
goto err_eio;
}
@@ -1742,12 +1740,9 @@ static void atp870u_remove (struct pci_dev *pdev)
scsi_remove_host(pshost);
- printk(KERN_INFO "free_irq : %d\n",pshost->irq);
free_irq(pshost->irq, pshost);
release_region(pshost->io_port, pshost->n_io_port);
- printk(KERN_INFO "atp870u_free_tables : %p\n",pshost);
atp870u_free_tables(pshost);
- printk(KERN_INFO "scsi_host_put : %p\n",pshost);
scsi_host_put(pshost);
}
MODULE_LICENSE("GPL");