summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.com>2017-04-15 20:55:41 +0200
committerJens Axboe <axboe@fb.com>2017-04-16 10:06:25 -0600
commitb0e0306ce14180baee00cea9be5600eef6750af8 (patch)
tree5f406c62e83b94f0b50f0c5ad6d117e0bec83f72 /drivers/pcmcia
parent48d663a314489f136a46abf8e3f0d014d7769209 (diff)
downloadlinux-b0e0306ce14180baee00cea9be5600eef6750af8.tar.bz2
lightnvm: don't check for failure from mempool_alloc()
mempool_alloc() cannot fail if the gfp flags allow it to sleep, and both GFP_KERNEL and GFP_NOIO allows for sleeping. So rrpc_move_valid_pages() and rrpc_make_rq() don't need to test the return value. Signed-off-by: NeilBrown <neilb@suse.com> Signed-off-by: Matias Bjørling <matias@cnexlabs.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/pcmcia')
0 files changed, 0 insertions, 0 deletions