]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide-probe: remove needless Status register reads
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 2 Feb 2008 18:56:45 +0000 (19:56 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 2 Feb 2008 18:56:45 +0000 (19:56 +0100)
commit57b552757314cf3f2253f07629f49016be6fa6c3
tree61088b5a722d0ee321e97bd785eb91f008bb5bb5
parentb187dfeed3be2fc879e904ed0b01d490d8866760
ide-probe: remove needless Status register reads

* Cache value read from the Status register in 'stat' variable in do_probe()
  and enable_nest(), then remove remove needless Status register reads.

While at it:

* Add proper KERN_* levels to printk() calls.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-probe.c