ide: Fix annoying warning in ide_pio_bytes().
authorDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2009 11:16:04 +0000 (04:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Aug 2009 17:42:56 +0000 (10:42 -0700)
commit7fa350b4754cd69c8352ef3f5d23082fbdcab0bd
tree905fa2d745d111ed3d190e679fb0b6f2f112edde
parenta907905219dc83f501274d5d8c6d2aa2161ff8c3
ide: Fix annoying warning in ide_pio_bytes().

GCC can't see that flags is only set and used when PageHighmem() is
true.

Inspired by a patch from Jean Delvare.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/ide-taskfile.c