aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorKuninori Morimoto <[email protected]>2020-01-20 10:22:21 +0900
committerRich Felker <[email protected]>2020-06-01 14:48:50 -0400
commit3125ddc42487307b59e44c405a3282770475150d (patch)
treeb16fbeaffd73512f5827f135770d124804196885 /drivers/fpga/fpga-bridge.c
parent4580ba4ad2e6b8ddaada3db61d179d4dfac12047 (diff)
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 <[email protected]> Signed-off-by: Rich Felker <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions