summaryrefslogtreecommitdiff
path: root/fs/jfs/jfs_dmap.c
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-02-07 11:32:50 +0300
committerDave Kleikamp <dave.kleikamp@oracle.com>2021-02-08 17:46:05 +0300
commit093e0687c5baacc29e4e8dd3ea205bac518e38bc (patch)
tree0a384775e180e2bbfac96c7d0f8e00366bcc6030 /fs/jfs/jfs_dmap.c
parent3bef198f1b17d1bb89260bad947ef084c0a2d1a6 (diff)
downloadlinux-093e0687c5baacc29e4e8dd3ea205bac518e38bc.tar.xz
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 'fs/jfs/jfs_dmap.c')
0 files changed, 0 insertions, 0 deletions