]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iov_iter: Remove unused variable in kunit_iov_iter.c
authorDavid Howells <dhowells@redhat.com>
Thu, 25 Jun 2026 14:06:26 +0000 (15:06 +0100)
committerChristian Brauner <brauner@kernel.org>
Wed, 1 Jul 2026 13:26:29 +0000 (15:26 +0200)
commit0442e23a5f72c74ba18882e4a2eed305c687009d
tree70021c51a299f3ccb8c4f6a574139eee433560ff
parent72698020e15db16fc141e191b460bc335263b0ad
iov_iter: Remove unused variable in kunit_iov_iter.c

Remove the no longer used variable 'b' from iov_kunit_copy_to_bvec().  The
variable is initialised and incremented, but nothing now makes use of the
value.

Signed-off-by: David Howells <dhowells@redhat.com>
Link: https://patch.msgid.link/20260625140640.3116900-9-dhowells@redhat.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
cc: Ming Lei <ming.lei@redhat.com>
cc: Paulo Alcantara <pc@manguebit.org>
cc: Matthew Wilcox <willy@infradead.org>
cc: Christoph Hellwig <hch@infradead.org>
cc: Jens Axboe <axboe@kernel.dk>
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
lib/tests/kunit_iov_iter.c