summaryrefslogtreecommitdiff
path: root/include/linux/ioport.h
diff options
context:
space:
mode:
authorDarren Hart <dvhltc@us.ibm.com>2008-12-19 02:06:34 +0300
committerIngo Molnar <mingo@elte.hu>2008-12-19 11:20:21 +0300
commitb56863630ddbdea6e22df8835f78f0b1da037103 (patch)
tree7b04a35cc94be4e40708855ec644bdaf69e77d65 /include/linux/ioport.h
parent73500ac545d24610eb2cf8579ffc88957e9c5847 (diff)
downloadlinux-b56863630ddbdea6e22df8835f78f0b1da037103.tar.xz
futex: clean up futex_(un)lock_pi fault handling
Impact: cleanup Some apparently left over cruft code was complicating the fault logic: Testing if uval != -EFAULT doesn't have any meaning, get_user() sets ret to either 0 or -EFAULT, there's no need to compare uval, especially not against EFAULT which it will never be. This patch removes the superfluous test and clarifies the comment blocks. Build and boot tested on an 8way x86_64 system. Signed-off-by: Darren Hart <dvhltc@us.ibm.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/ioport.h')
0 files changed, 0 insertions, 0 deletions