diff options
author | Kirtika Ruchandani <kirtika@chromium.org> | 2016-11-24 16:51:17 -0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-25 13:01:36 +0000 |
commit | daaadbf07433b15c452b2ff411a293b2ccd98e03 (patch) | |
tree | eeeff948394bba771499504aed20b6909eff2457 /drivers/base/regmap/regmap-irq.c | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) | |
download | op-kernel-dev-daaadbf07433b15c452b2ff411a293b2ccd98e03.zip op-kernel-dev-daaadbf07433b15c452b2ff411a293b2ccd98e03.tar.gz |
regmap: cache: Remove unused 'blksize' variable
Commit 2cbbb579bcbe ("regmap: Add the LZO cache support") introduced
'blksize' in regcache_lzo_read() and regcache_lzo_write(), that is
set but not used. Compiling with W=1 gives the following warnings,
fix them.
drivers/base/regmap/regcache-lzo.c: In function ‘regcache_lzo_read’:
drivers/base/regmap/regcache-lzo.c:239:9: warning: variable ‘blksize’ set but not used [-Wunused-but-set-variable]
size_t blksize, tmp_dst_len;
^
drivers/base/regmap/regcache-lzo.c: In function ‘regcache_lzo_write’:
drivers/base/regmap/regcache-lzo.c:278:9: warning: variable ‘blksize’ set but not used [-Wunused-but-set-variable]
size_t blksize, tmp_dst_len;
^
These are harmless warnings and are only being fixed to reduce the
noise with W=1 in the kernel.
Fixes: 2cbbb579bcbe ("regmap: Add the LZO cache support")
Cc: Dimitris Papastamos <dp@opensource.wolfsonmicro.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Kirtika Ruchandani <kirtika@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/base/regmap/regmap-irq.c')
0 files changed, 0 insertions, 0 deletions