]> www.infradead.org Git - users/dwmw2/linux.git/commit
staging: vchiq_core: Simplify bulk transfer queue message function
authorUmang Jain <umang.jain@ideasonboard.com>
Thu, 17 Oct 2024 13:36:28 +0000 (19:06 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Oct 2024 08:04:06 +0000 (10:04 +0200)
commit643f2e8a6aa1885efd23d15f8b2b6446cb8052f8
treed276cbf64d1fc24667511ef4c402c701e4f1fd67
parentb7a0b11170f145f6a20670d8d0cd4551d30d1bcf
staging: vchiq_core: Simplify bulk transfer queue message function

vchiq_bulk_xfer_queue_msg_killable() is a common function between
various bulk transfer code paths (blocking, callback and no-callback).
These code paths were simplified earlier by passing a populated
struct vchiq_bulk pointer in order to avoid open-coding the parameters
required to initiate a bulk transfer.

Now simplify the vchiq_bulk_xfer_queue_msg_killable() in a similar way
i.e. avoid open-coding the function parameters and pass the struct
vchiq_bulk pointer directly, coming from the various bulk transfer code
paths.

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