diff options
Diffstat (limited to 'drivers/block/amiflop.c')
-rw-r--r-- | drivers/block/amiflop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/amiflop.c b/drivers/block/amiflop.c index 7888501ad9ee..363855ca376e 100644 --- a/drivers/block/amiflop.c +++ b/drivers/block/amiflop.c | |||
@@ -1768,8 +1768,8 @@ static int __init amiga_floppy_probe(struct platform_device *pdev) | |||
1768 | return -EBUSY; | 1768 | return -EBUSY; |
1769 | 1769 | ||
1770 | ret = -ENOMEM; | 1770 | ret = -ENOMEM; |
1771 | if ((raw_buf = (char *)amiga_chip_alloc (RAW_BUF_SIZE, "Floppy")) == | 1771 | raw_buf = amiga_chip_alloc(RAW_BUF_SIZE, "Floppy"); |
1772 | NULL) { | 1772 | if (!raw_buf) { |
1773 | printk("fd: cannot get chip mem buffer\n"); | 1773 | printk("fd: cannot get chip mem buffer\n"); |
1774 | goto out_blkdev; | 1774 | goto out_blkdev; |
1775 | } | 1775 | } |