]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit910f7bb164fa888ff925e337bf8fd479abb157f9
tree87c834ebff3a9c60a3e48a8d76fdfde349eff449
parent40d69ba029c8d5de51aaeb5358999266c482d00a
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