make convert_delimiter use strchr instead of open-coding it
authorSteve French <smfrench@gmail.com>
Fri, 30 Nov 2012 00:07:51 +0000 (18:07 -0600)
committerSteve French <smfrench@gmail.com>
Wed, 5 Dec 2012 19:27:30 +0000 (13:27 -0600)
commit1cc9bd68617f2a92dcd6e4398288341d16cfb5c1
tree21594cc37e9f39545b1ed29a7b9faa235ffba183
parentb979aaa1777259330435c47f900833dabe9189e8
make convert_delimiter use strchr instead of open-coding it

Take advantage of accelerated strchr() on arches that support it.

Also, no caller ever passes in a NULL pointer. Get rid of the unneeded
NULL pointer check.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/cifsglob.h