On 2/3/21 9:39 PM, Yang Li wrote:
This patch removes unneeded return variables, using only
'0' instead.
It fixes the following warning detected by coccinelle:
./fs/jfs/jfs_txnmgr.c:1370:5-7: Unneeded variable: "rc". Return "0" on
line 1417
Looks good. I wonder if we should take it a step
This patch removes unneeded return variables, using only
'0' instead.
It fixes the following warning detected by coccinelle:
./fs/jfs/jfs_txnmgr.c:1370:5-7: Unneeded variable: "rc". Return "0" on
line 1417
Reported-by: Abaci Robot
Signed-off-by: Yang Li
---
fs/jfs/jfs_txnmgr.c | 6 ++
1
2 matches
Mail list logo