Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64462
b: refs/heads/master
c: b0e81eb
h: refs/heads/master
v: v3
  • Loading branch information
Maxim Shchetynin authored and Paul Mackerras committed Aug 25, 2007
1 parent 43d6057 commit 4a37541
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fedcd2c53d838e7a69df699ce2a14e45d34d7f7f
refs/heads/master: b0e81ebb1062eba20fbcbe459662c0a6ec6075f7
3 changes: 0 additions & 3 deletions trunk/arch/powerpc/sysdev/axonram.c
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,6 @@ axon_ram_probe(struct of_device *device, const struct of_device_id *device_id)
if (bank->irq_id != NO_IRQ)
free_irq(bank->irq_id, device);
if (bank->disk != NULL) {
if (bank->disk->queue != NULL)
blk_cleanup_queue(bank->disk->queue);
if (bank->disk->major > 0)
unregister_blkdev(bank->disk->major,
bank->disk->disk_name);
Expand Down Expand Up @@ -310,7 +308,6 @@ axon_ram_remove(struct of_device *device)

device_remove_file(&device->dev, &dev_attr_ecc);
free_irq(bank->irq_id, device);
blk_cleanup_queue(bank->disk->queue);
unregister_blkdev(bank->disk->major, bank->disk->disk_name);
del_gendisk(bank->disk);
iounmap((void __iomem *) bank->io_addr);
Expand Down

0 comments on commit 4a37541

Please sign in to comment.