Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
swptm_ioctl: Eliminate an unreachable statement
If is_chardev is false, then we have a buffersize of 4096 bytes per the following statement: 322 if (!is_chardev) 323 buffersize = 4096; With this we end up in the following if branch: 384 if (buffersize) { 385 /* continue with the read interface */ [...] 418 419 break; 420 } else { Per the break in line 419 we leave the loop, thus cannot reach the statement we remove: 423 if (!is_chardev) 424 break; Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
- Loading branch information