commit | 6d99f3797aae55e92f0f6480745dafd0e37c951d | [log] [tgz] |
---|---|---|
author | Pisit Sawangvonganan <pisit@ndrsolution.com> | Fri Mar 22 17:46:10 2024 +0700 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Fri Apr 19 17:55:25 2024 +0000 |
tree | b6808d628542a42258d859878f24739890b89689 | |
parent | b864cd9053a00032b993ac7e22fd34667850e419 [diff] |
drivers: flash: spi_nor: clean up unnecessary code This commit removes unnecessary usage of the `ARG_UNUSED` macro and unnecessary initialization of the `ret` variable where its value is guaranteed to be overwritten by subsequent operations. Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>