]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
nfsd: Get rid of useless "pool" field in nfs_fha_new.c
authorRick Macklem <rmacklem@FreeBSD.org>
Fri, 17 Feb 2023 15:34:40 +0000 (07:34 -0800)
committerRick Macklem <rmacklem@FreeBSD.org>
Fri, 17 Feb 2023 15:34:40 +0000 (07:34 -0800)
commitb99c419587db2ac75b929637f61ec3b845d7b5f6
treec1f4bc69d7925dbfe3f4cacd787afde6d5d80acc
parent545c5c40767c84d73fe732fe7fe75f6471f30c00
nfsd: Get rid of useless "pool" field in nfs_fha_new.c

Since svcpool_create() is now called from an initialization function,
the pool field of fha_params is always non-NULL, so just get
rid of it and the useless check for it being NULL.

MFC after: 3 months
sys/fs/nfsserver/nfs_fha_new.c
sys/fs/nfsserver/nfs_fha_new.h