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: NeilBrown <neilb@suse.com>
Signed-off-by: Steve French <smfrench@gmail.com>
This commit is contained in:
NeilBrown 2017-04-10 12:08:53 +10:00 • committed by Steve French
commit a6f74e80f2
3 changed files with 32 additions and 44 deletions