diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-02-07 16:32:50 +0800 |
---|---|---|
committer | Dave Kleikamp <dave.kleikamp@oracle.com> | 2021-02-08 08:46:05 -0600 |
commit | 093e0687c5baacc29e4e8dd3ea205bac518e38bc (patch) | |
tree | 0a384775e180e2bbfac96c7d0f8e00366bcc6030 /lib/test_printf.c | |
parent | 3bef198f1b17d1bb89260bad947ef084c0a2d1a6 (diff) |
jfs: turn diLog(), dataLog() and txLog() into void functions
These functions always return '0' and no callers use the return value.
So make it a void function.
This eliminates the following coccicheck warning:
./fs/jfs/jfs_txnmgr.c:1365:5-7: Unneeded variable: "rc". Return "0" on
line 1414
./fs/jfs/jfs_txnmgr.c:1422:5-7: Unneeded variable: "rc". Return "0" on
line 1527
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Diffstat (limited to 'lib/test_printf.c')
0 files changed, 0 insertions, 0 deletions