[ARM SMP] mpcore_wdt bogus fpos check
authorMarcelo Tosatti <marcelo.tosatti@cyclades.com>
Mon, 5 Dec 2005 10:15:06 +0000 (10:15 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 5 Dec 2005 10:15:06 +0000 (10:15 +0000)
commit9ddf61bd09a7668279d2b208a96eba784bec3d80
tree55116fe3e45703ca7d45f4400ac3ced091537632
parentdb20da32a22ccfa3a118408034eeb0ba61a42329
[ARM SMP] mpcore_wdt bogus fpos check

drivers/char/watchdog/mpcore_wdt.c write function contains a check for
(ppos != &file->f_pos). Such check used to make sense when a pointer to
file->f_pos was handed by vfs_write(), not a copy of it as it stands
now.

Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/char/watchdog/mpcore_wdt.c