Simplify code a bit.

This commit is contained in:
Pawel Jakub Dawidek 2010-02-18 22:10:55 +00:00
parent 358a01b4e0
commit 6619e90994
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204063

View File

@ -500,15 +500,11 @@ dtnfsclient_load(void *dummy)
static int
dtnfsclient_unload()
{
int error = 0;
dtrace_nfsclient_nfs23_start_probe = NULL;
dtrace_nfsclient_nfs23_done_probe = NULL;
if ((error = dtrace_unregister(dtnfsclient_id)) != 0)
return (error);
return (error);
return (dtrace_unregister(dtnfsclient_id));
}
static int