jfs: turn diLog(), dataLog() and txLog() into void functions
authorYang Li <yang.lee@linux.alibaba.com>
Sun, 7 Feb 2021 08:32:50 +0000 (16:32 +0800)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Mon, 8 Feb 2021 14:46:05 +0000 (08:46 -0600)
commit093e0687c5baacc29e4e8dd3ea205bac518e38bc
tree0a384775e180e2bbfac96c7d0f8e00366bcc6030
parent3bef198f1b17d1bb89260bad947ef084c0a2d1a6
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>
fs/jfs/jfs_txnmgr.c