Remove unnecessary check for NULL in password parser
authorSachin Prabhu <sprabhu@redhat.com>
Wed, 28 Mar 2012 17:07:08 +0000 (18:07 +0100)
committerSteve French <sfrench@us.ibm.com>
Tue, 3 Apr 2012 23:04:35 +0000 (18:04 -0500)
commit1023807458b6365e28c66095648e1b66e04a4259
treeafd016f0e10a8bc50f96e13b0542fe00f487a786
parent66189be74ff5f9f3fd6444315b85be210d07cef2
Remove unnecessary check for NULL in password parser

The password parser has an unnecessary check for a NULL value which
triggers warnings in source checking tools. The code contains artifacts
from the old parsing code which are no longer required.

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/connect.c