diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2020-01-20 10:22:21 +0900 |
---|---|---|
committer | Rich Felker <dalias@libc.org> | 2020-06-01 14:48:50 -0400 |
commit | 3125ddc42487307b59e44c405a3282770475150d (patch) | |
tree | b16fbeaffd73512f5827f135770d124804196885 /net/atm | |
parent | 4580ba4ad2e6b8ddaada3db61d179d4dfac12047 (diff) | |
download | linux-3125ddc42487307b59e44c405a3282770475150d.tar.bz2 |
sh: Convert ins[bwl]/outs[bwl] macros to inline functions
Macro ins[bwl]/outs[bwl] are just calling BUG(), but that results in
unused variable warnings all over the place.
This patch convert macro to inline to avoid warning
We will get this kind of warning without this patch
${LINUX}/drivers/iio/adc/ad7606_par.c:21:23: \
warning: unused variable 'st' [-Wunused-variable]
struct ad7606_state *st = iio_priv(indio_dev);
^~
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'net/atm')
0 files changed, 0 insertions, 0 deletions