]> git.ipfire.org Git - thirdparty/linux.git/commit
splice: Remove redundant assignment to ret
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Tue, 7 Mar 2023 08:49:18 +0000 (16:49 +0800)
committerChristian Brauner (Microsoft) <brauner@kernel.org>
Thu, 9 Mar 2023 09:10:31 +0000 (10:10 +0100)
commitc3a4aec055ec275c9f860e88d37e97248927d898
treefef6e55849f8877166b2c6e5faac220b771413d9
parent5b8e5319affc977d24b8ce7edd295907e969e217
splice: Remove redundant assignment to ret

The variable ret belongs to redundant assignment and can be deleted.

fs/splice.c:940:2: warning: Value stored to 'ret' is never read.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4406
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
fs/splice.c