Skip to content
Commit defab59d authored by Pisit Sawangvonganan's avatar Pisit Sawangvonganan Committed by Anas Nashif
Browse files

drivers: can: mcp251xfd: reducing number of *reg pointer dereferences



Reducing the number of times the code dereferences the pointer *reg,
which points to SRAM. By using a local variable tmp for operations before
assigning it to *reg.

Signed-off-by: default avatarPisit Sawangvonganan <pisit@ndrsolution.com>
parent 89430254
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment