From: Richard Cochran Date: Fri, 18 Feb 2011 09:07:25 +0000 (+0100) Subject: ntp: Remove redundant and incorrect parameter check X-Git-Tag: v2.6.39-rc1~508^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db1c1cce4a653dcbe6949c72ae7b9f42cab1b929;p=pandora-kernel.git 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 Cc: johnstul@us.ibm.com LKML-Reference: <20110218090724.GA2924@riccoc20.at.omicron.at> Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed