staging: vc04_services: vchiq_arm: Drop g_cache_line_size
authorUmang Jain <umang.jain@ideasonboard.com>
Fri, 12 Apr 2024 07:57:35 +0000 (13:27 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Apr 2024 14:53:32 +0000 (16:53 +0200)
commit8c9753f6390586d3bf4f72c4ec316e2ee212abf2
tree18d508ca0849e00bbc1382a163ed8e89b3a1032b
parent1c9e16b73166bcc89b3d64674b60943ec6142c3e
staging: vc04_services: vchiq_arm: Drop g_cache_line_size

The cache-line-size is cached in struct vchiq_platform_info.
There is no need to cache this again via g_cache_line_size
and use it. Instead use the value from vchiq_platform_info directly.

While at it, move the comment about L2 cache line size in the kerneldoc
block of struct vchiq_platform_info.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Stefan Wahren <wahrenst@gmx.net>
Link: https://lore.kernel.org/r/20240412075743.60712-4-umang.jain@ideasonboard.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h