]> git.ipfire.org Git - thirdparty/linux.git/commit
spi: realtek-rtl-snand: Drop unneeded assignment for cache_type
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 29 Jan 2025 15:29:25 +0000 (17:29 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 3 Feb 2025 00:41:38 +0000 (00:41 +0000)
commitc1ac98492d1584d31f335d233a5cd7a4d4116e5a
tree7ee0d4077dfec199d13d3ee79d0bf63570bb73c6
parent2014c95afecee3e76ca4a56956a936e23283f05b
spi: realtek-rtl-snand: Drop unneeded assignment for cache_type

REGCACHE_NONE is the default type of the cache when not provided.
Drop unneeded explicit assignment to it.

Note, it's defined to 0, and if ever be redefined, it will break
literally a lot of the drivers, so it very unlikely to happen.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20250129152925.1804071-1-andriy.shevchenko@linux.intel.com
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-realtek-rtl-snand.c