diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-08-02 17:53:10 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-08-04 13:25:49 -0400 |
commit | 2e07e0633081a838f139fac0565366383f7302c4 (patch) | |
tree | 53c6df3290a410561850028960604e5b9a77f568 /drivers/gpu/nvgpu/therm/thrm.h | |
parent | a0a3a6323a0e4323d9dedac14b47239535b1cb8b (diff) |
gpu: nvgpu: Remove unnecessary use of ACCESS_ONCE()
ACCESS_ONCE() is used for making sure that in a given place of code
access a variable exactly once. It prevents compiler rearranging the
read from happening earlier.
Remove its use from cases where rearranging of the read does not
create problems.
Change-Id: I340f375e8fecc31f3a3fab543256069cb4c682dc
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1531649
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/therm/thrm.h')
0 files changed, 0 insertions, 0 deletions