Simplify code a bit.
This commit is contained in:
parent
358a01b4e0
commit
6619e90994
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user