[PATCH] hpet: remove superfluous indirections
authorClemens Ladisch <clemens@ladisch.de>
Sun, 30 Oct 2005 23:03:40 +0000 (15:03 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:30 +0000 (17:37 -0800)
commitc860ed9fb5d320407f99190ab2e31bfe74db6724
tree69c650e001738130ac69152a195ae824b5ef2ee4
parent3d5640d1c7584689227256beeb63354c9a5baf2d
[PATCH] hpet: remove superfluous indirections

In the hpet_ioctl_common() function, devp->hd_hpets is already cached in the
hpetp variable, so we can use just that.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Cc: Bob Picco <bob.picco@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/hpet.c