opnsense-src/sys/dev/xen/blkfront
Dimitry Andric d0917822a2 Fix unused variable warning in xen's blkfront.c
With clang 15, the following -Werror warning is produced:

    sys/dev/xen/blkfront/blkfront.c:602:6: error: variable 'sbp' set but not used [-Werror,-Wunused-but-set-variable]
            int sbp;
                ^

The 'sbp' variable was used in the for loop later in the xb_dump()
function, but refactoring in e4808c4b2d got rid of it. Remove the
variable since it no longer serves any purpose.

MFC after:      3 days

(cherry picked from commit e635220e1a)
2022-07-29 20:32:08 +02:00
..
blkfront.c Fix unused variable warning in xen's blkfront.c 2022-07-29 20:32:08 +02:00
block.h xen(4): Fix two typos in source code comments 2021-12-03 16:52:44 +01:00