cifs: don't check for failure from mempool_alloc()
authorNeilBrown <neilb@suse.com>
Mon, 10 Apr 2017 02:08:53 +0000 (12:08 +1000)
committerSteve French <smfrench@gmail.com>
Fri, 28 Apr 2017 12:56:33 +0000 (07:56 -0500)
commita6f74e80f271b19ea709cbda55e8eb67e9ffccf2
tree8ceb1cee86f26fb69c14d4d9e5d2478359f546e2
parent7d0c234fd2e1c9ca3fa032696c0c58b1b74a9e0b
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>
fs/cifs/misc.c
fs/cifs/smb2transport.c
fs/cifs/transport.c