Skip to content

Commit

Permalink
Staticize kstat_default_update()
Browse files Browse the repository at this point in the history
This is only used via ->ks_update of `kstat_t *`.
This isn't exported nor do headers have its prototype.

Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tomohiro Kusumi <[email protected]>
Closes openzfs#686
  • Loading branch information
kusumi authored and behlendorf committed Feb 21, 2018
1 parent 2b5cd59 commit 68386b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/spl/spl-kstat.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ kstat_seq_show(struct seq_file *f, void *p)
return (-rc);
}

int
static int
kstat_default_update(kstat_t *ksp, int rw)
{
ASSERT(ksp != NULL);
Expand Down

0 comments on commit 68386b0

Please sign in to comment.