staging: vchiq_core: Locally cache cache_line_size information
authorUmang Jain <umang.jain@ideasonboard.com>
Sun, 13 Oct 2024 11:21:23 +0000 (16:51 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Oct 2024 13:47:34 +0000 (15:47 +0200)
commit5fa110249b0877fed564c9ea04dd52c20f6d1c24
tree094e97089509dded3d96ddf95117535008047ee9
parent2bf280c30ec18ae49ad0358d69c2a1e40f1a84ef
staging: vchiq_core: Locally cache cache_line_size information

Locally cache 'cache_line_size' information in a variable instead of
repeatedly accessing it from drv_mgmt->info. This helps to reflow lines
under 80 columns.

No functional change intended in this patch.

Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/20241013112128.397249-2-umang.jain@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c