sys/vfs/hammer2: Remove unused lbase local variables for hammer2_calc_logical()
commitda9dedd0a7779b90df81e7001227e9b3ecef4165
authorTomohiro Kusumi <tkusumi@netbsd.org>
Mon, 30 Oct 2023 07:12:09 +0000 (30 00:12 -0700)
committerTomohiro Kusumi <tkusumi@netbsd.org>
Mon, 30 Oct 2023 08:14:30 +0000 (30 01:14 -0700)
tree2f16d40e613d595c2a443784482d0412e4c9e4d3
parent66b940daebdba6bc9419a4c1070a2945e02df3d4
sys/vfs/hammer2: Remove unused lbase local variables for hammer2_calc_logical()

These variables are never used after assigned values.

If the third argument is NULL, the second argument is unused either,
in which case 0 is usually passed. If the fourth argument is NULL,
the first argument is unused either, in which case NULL can be passed.

(So if at least the last 2 arguments are NULL, caller is just looking
for an fs block size, which is always 64KB...)
sys/vfs/hammer2/hammer2_vnops.c