]> git.baikalelectronics.ru Git - kernel.git/commit
pata_hpt37x: fold 'if' statement into 'switch'
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Mon, 10 Jan 2011 19:31:13 +0000 (22:31 +0300)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 28 Jan 2011 08:07:04 +0000 (03:07 -0500)
commitb6c6462c6aa225f7f083a85e6fece255938a6689
tree87c834ebff3a9c60a3e48a8d76fdfde349eff449
parent98809185a65c6e0aa53e4a9fb18d386bfa7947eb
pata_hpt37x: fold 'if' statement into 'switch'

hpt37x_init_one() has a large *if* statement which should really be folded into
the *switch* statement that currently constitutes its *else* branch, reducing
one level of indentation...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_hpt37x.c