diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2009-01-02 05:41:24 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-01-02 13:16:18 -0500 |
commit | d38f47a977e5d314a2e21db0806ca4f76cb0576b (patch) | |
tree | e88aec98540081f14c62984a3fdebfa6c9e5c2af /drivers/scsi/gvp11.c | |
parent | c31558efcc45651d3e324ea861ee5934cafef8e2 (diff) |
[SCSI] a2091, gvp11: kill warn_unused_result warnings
warning: ignoring return value of 'request_irq', declared with attribute
warn_unused_result
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/gvp11.c')
-rw-r--r-- | drivers/scsi/gvp11.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/scsi/gvp11.c b/drivers/scsi/gvp11.c index ca7363752401..5d1bf7e3d245 100644 --- a/drivers/scsi/gvp11.c +++ b/drivers/scsi/gvp11.c | |||
@@ -329,12 +329,16 @@ int __init gvp11_detect(struct scsi_host_template *tpnt) | |||
329 | (epc & GVP_SCSICLKMASK) ? WD33C93_FS_8_10 | 329 | (epc & GVP_SCSICLKMASK) ? WD33C93_FS_8_10 |
330 | : WD33C93_FS_12_15); | 330 | : WD33C93_FS_12_15); |
331 | 331 | ||
332 | request_irq(IRQ_AMIGA_PORTS, gvp11_intr, IRQF_SHARED, "GVP11 SCSI", | 332 | if (request_irq(IRQ_AMIGA_PORTS, gvp11_intr, IRQF_SHARED, "GVP11 SCSI", |
333 | instance); | 333 | instance)) |
334 | goto unregister; | ||
334 | DMA(instance)->CNTR = GVP11_DMAC_INT_ENABLE; | 335 | DMA(instance)->CNTR = GVP11_DMAC_INT_ENABLE; |
335 | num_gvp11++; | 336 | num_gvp11++; |
336 | continue; | 337 | continue; |
337 | 338 | ||
339 | unregister: | ||
340 | scsi_unregister(instance); | ||
341 | wd33c93_release(); | ||
338 | release: | 342 | release: |
339 | release_mem_region(address, 256); | 343 | release_mem_region(address, 256); |
340 | } | 344 | } |