summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/axp288_adc.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2015-06-19 10:13:01 -0600
committerJens Axboe <axboe@fb.com>2015-06-19 10:13:01 -0600
commit4ceab71b9d84e55b59a76b54b2999dc377aae6e6 (patch)
tree94c7b34981ec9ae3e2c506892488c538add0bcd9 /drivers/iio/adc/axp288_adc.c
parent0bb979472a7401022109e81dd89d777adea58710 (diff)
downloadtalos-op-linux-4ceab71b9d84e55b59a76b54b2999dc377aae6e6.tar.gz
talos-op-linux-4ceab71b9d84e55b59a76b54b2999dc377aae6e6.zip
cfq-iosched: move group scheduling functions under ifdef
If CFQ_GROUP_IOSCHED is not set, the compiler produces the following warning: CC block/cfq-iosched.o linux/block/cfq-iosched.c:469:2: warning: 'cpd_to_cfqgd' defined but not used [-Wunused-function] *cpd_to_cfqgd(struct blkcg_policy_data *cpd) ^ In reality, two other lookup functions aren't used either if CFQ_GROUP_IOSCHED isn't set. Move all three under one of the CFQ_GROUP_IOSCHED sections in the code. Reported-by: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/iio/adc/axp288_adc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud