]> err.no Git - linux-2.6/commit
ide: insert BUG_ON() into __ide_set_handler() (take 2)
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Sun, 10 Feb 2008 23:32:12 +0000 (00:32 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 10 Feb 2008 23:32:12 +0000 (00:32 +0100)
commitd30a426dc5fd8801dbd05485788a001de623d487
tree208b400c9d42ffef8a8ee811ef057f88fc28d623
parentcb777922c3a15ccbea4c02bed401e030f195aaea
ide: insert BUG_ON() into __ide_set_handler() (take 2)

Replace the check for hwgroup->handler and printk(KERN_CRIT, ...) at the start
of __ide_set_handler() with mere BUG_ON() while removing such from the caller,
ide_execute_command(). Fix up the code formatting, while at it...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-iops.c