summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/core.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2017-01-19 07:10:13 -0700
committerJens Axboe <axboe@fb.com>2017-01-19 07:43:05 -0700
commit610d886c0c22fa7504e817b6d03c402de64b0264 (patch)
tree0faf9b2eea4e7bfddb03861f6a42cefb17b92e5d /drivers/pnp/core.c
parent38dbb7dd4db184da4d2673f4bb963f7006465c37 (diff)
downloadlinux-610d886c0c22fa7504e817b6d03c402de64b0264.tar.bz2
elevator: fix unnecessary put of elevator in failure case
We already checked that e is NULL, so no point in calling elevator_put() to free it. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Fixes: dc877dbd088f ("blk-mq-sched: add framework for MQ capable IO schedulers") Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/pnp/core.c')
0 files changed, 0 insertions, 0 deletions