]> www.infradead.org Git - users/jedix/linux-maple.git/commit
staging: vchiq_core: Simplify bulk data preparatory functions
authorUmang Jain <umang.jain@ideasonboard.com>
Thu, 17 Oct 2024 13:36:25 +0000 (19:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Oct 2024 08:04:06 +0000 (10:04 +0200)
commit53cc1e2549d4a49ae18389e591b2ab6af253bd49
tree9d9d9aec6407766f6370b8fe07491b28c8576bb2
parent0d2df8b10b54578d052daa520fac64e0e0ce74e2
staging: vchiq_core: Simplify bulk data preparatory functions

Two functions create_pagelist() and vchiq_prepare_bulk_data()
open code bulk data arguments ('size' and 'dir') in their function
signatures which can easily be obtained by struct vchiq_bulk pointer.

Retrieve the arguments from vchiq_bulk pointer instead and reduce
the number of arguments passed in create_pagelist() and
vchiq_bulk_prepare_data().

No functional changes intended in this patch.

Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Link: https://lore.kernel.org/r/20241017133629.216672-3-umang.jain@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c