s390/ptrace: remove leftover comment
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 9 Jan 2024 10:59:47 +0000 (11:59 +0100)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Thu, 11 Jan 2024 17:22:59 +0000 (18:22 +0100)
The code which validates floating point control register contents was
reworked with commit 702644249d3e ("s390/fpu: get rid of test_fp_ctl()").

There is still a comment which refers to the old implementation - remove it
in order to avoid confusion.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/ptrace.c

index 2e6754b62b2093c789e1de27e1d3b7105e6ee462..f1897a8bb221078cf3b0da87c1d614241e0544b9 100644 (file)
@@ -917,7 +917,6 @@ static int s390_fpregs_set(struct task_struct *target,
        else
                memcpy(&fprs, target->thread.fpu.fprs, sizeof(fprs));
 
-       /* If setting FPC, must validate it first. */
        if (count > 0 && pos < offsetof(s390_fp_regs, fprs)) {
                u32 ufpc[2] = { target->thread.fpu.fpc, 0 };
                rc = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &ufpc,