[POWERPC] axonram: Do not delete gendisks queue in error path
authorMaxim Shchetynin <maxim@de.ibm.com>
Wed, 22 Aug 2007 17:01:28 +0000 (03:01 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 25 Aug 2007 06:58:27 +0000 (16:58 +1000)
commitb0e81ebb1062eba20fbcbe459662c0a6ec6075f7
tree6c30bfaf5f3b149783e8e138466ef3d6bb2db817
parentfedcd2c53d838e7a69df699ce2a14e45d34d7f7f
[POWERPC] axonram: Do not delete gendisks queue in error path

On exit do not delete gendisk's queue because this is already done by
del_gendisk(). Doing it twice may cause memory damage.

Signed-off-by: Maximilian <maxim@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/sysdev/axonram.c