aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/surface/aggregator/ssh_parser.c
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2024-10-30 18:25:47 +0000
committerAl Viro <viro@zeniv.linux.org.uk>2024-11-06 13:00:01 -0500
commit46a7fcec097da5b3188dce608362fe6bf4ea26ee (patch)
tree7362ef9f7b46c69602e195c6270cfc1eb32eba70 /drivers/platform/surface/aggregator/ssh_parser.c
parent6140be90ec70c39fa844741ca3cc807dd0866394 (diff)
downloadlinux-46a7fcec097da5b3188dce608362fe6bf4ea26ee.tar.gz
linux-46a7fcec097da5b3188dce608362fe6bf4ea26ee.tar.bz2
linux-46a7fcec097da5b3188dce608362fe6bf4ea26ee.zip
xattr: remove redundant check on variable err
Curretly in function generic_listxattr the for_each_xattr_handler loop checks err and will return out of the function if err is non-zero. It's impossible for err to be non-zero at the end of the function where err is checked again for a non-zero value. The final non-zero check is therefore redundant and can be removed. Also move the declaration of err into the loop. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions