diff options
author | Gabor Juhos <j4g8y7@gmail.com> | 2025-05-29 19:35:44 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-06-08 23:38:43 +0100 |
commit | f73dc37ebf45573349aee0aae168e8dc3d13ecee (patch) | |
tree | c13d45df1a8867892132720ac49316a9939cb92a /rust/helpers/xarray.c | |
parent | 6c1ca9928ed48499f75101057079b92072077d44 (diff) |
spi: spi-qpic-snand: remove 'qpic_snand_op' structure
The 'qpic_snand_op' structure is used only in the qcom_spi_send_cmdaddr()
function as a type of a local variable. Additionally, the sole purpose of
that variable is to keep some interim values before those gets passed as
arguments for cpu_to_le32() calls.
In order to simplify the code, remove the definition of the structure
along with the local variable, and use the corresponding values directly
as parameters for cpu_to_le32() calls.
No functional changes intended.
Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
Link: https://patch.msgid.link/20250529-qpic-snand-remove-qpic_snand_op-v1-1-6e42b772d748@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers/xarray.c')
0 files changed, 0 insertions, 0 deletions