mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 02:03:31 +00:00
Simplify code a bit.
This commit is contained in:
parent
358a01b4e0
commit
6619e90994
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204063
@ -500,15 +500,11 @@ dtnfsclient_load(void *dummy)
|
|||||||
static int
|
static int
|
||||||
dtnfsclient_unload()
|
dtnfsclient_unload()
|
||||||
{
|
{
|
||||||
int error = 0;
|
|
||||||
|
|
||||||
dtrace_nfsclient_nfs23_start_probe = NULL;
|
dtrace_nfsclient_nfs23_start_probe = NULL;
|
||||||
dtrace_nfsclient_nfs23_done_probe = NULL;
|
dtrace_nfsclient_nfs23_done_probe = NULL;
|
||||||
|
|
||||||
if ((error = dtrace_unregister(dtnfsclient_id)) != 0)
|
return (dtrace_unregister(dtnfsclient_id));
|
||||||
return (error);
|
|
||||||
|
|
||||||
return (error);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
Loading…
Reference in New Issue
Block a user