Skip to content
Commit a6f74e80 authored by NeilBrown's avatar NeilBrown Committed by Steve French
Browse files

cifs: don't check for failure from mempool_alloc()



mempool_alloc() cannot fail if the gfp flags allow it to
sleep, and both GFP_FS allows for sleeping.

So these tests of the return value from mempool_alloc()
cannot be needed.

Signed-off-by: default avatarNeilBrown <neilb@suse.com>
Signed-off-by: default avatarSteve French <smfrench@gmail.com>
parent 7d0c234f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment