diff options
| author | 2011-02-18 10:07:25 +0100 | |
|---|---|---|
| committer | 2011-02-18 17:01:12 +0100 | |
| commit | db1c1cce4a653dcbe6949c72ae7b9f42cab1b929 (patch) | |
| tree | c90203be70d8fbe19e462e45f0573e34208a8927 /net/lapb/lapb_in.c | |
| parent | mn10300: Switch do_timer() to xtimer_update() (diff) | |
| download | wireguard-linux-db1c1cce4a653dcbe6949c72ae7b9f42cab1b929.tar.xz wireguard-linux-db1c1cce4a653dcbe6949c72ae7b9f42cab1b929.zip | |
ntp: Remove redundant and incorrect parameter check
The ADJ_SETOFFSET code redundantly checks the range of the nanoseconds
field of the time value. This field is checked again in the subsequent
call to timekeeping_inject_offset(). Also, as is, the check will not
detect whether the number of microseconds is out of range.
Let timekeeping_inject_offset() do the error checking.
Signed-off-by: Richard Cochran <richard.cochran@omicron.at>
Cc: johnstul@us.ibm.com
LKML-Reference: <20110218090724.GA2924@riccoc20.at.omicron.at>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
