summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>2004-09-09 21:03:08 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-09-09 21:03:08 -0700
commitcf3968c5b7ac7624af8b475d0c134af01122faf9 (patch)
tree4babec68f31451c2496f66c27434fffb99ef6308 /include/linux
parentb6877e8c60363adb7fe3bb5ee03d3a0f0564bd29 (diff)
[PATCH] ide: remove kmalloc() from ide_unregister()
tmp_hwif should not be kmalloc()ed in ide_unregister(). If the kmalloc fails, there is no possible error recovery. This patch makes tmp_hwif static, protected by ide_cfg_sem. Signed-off-by: Jorn Engel <joern@wh.fh-wedel.de> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions