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)
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>

No differences found