rpc: minor gss_alloc_msg cleanup
author\"J. Bruce Fields\ <bfields@citi.umich.edu>
Tue, 23 Dec 2008 21:07:13 +0000 (16:07 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 23 Dec 2008 21:07:13 +0000 (16:07 -0500)
commitdb75b3d6b5b0dad29860370618ea94d2726641b4
treee20ac4190fe09d27f7a48e7f3f46cce6f2dbd5b1
parentb03568c32226163cb3588ea8993adb268ed497a5
rpc: minor gss_alloc_msg cleanup

I want to add a little more code here, so it'll be convenient to have
this flatter.

Also, I'll want to add another error condition, so it'll be more
convenient to return -ENOMEM than NULL in the error case.  The only
caller is already converting NULL to -ENOMEM anyway.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/auth_gss/auth_gss.c