pools are always initialised, zap overcautious NULL check
authorkn <kn@openbsd.org>
Thu, 11 May 2023 12:36:22 +0000 (12:36 +0000)
committerkn <kn@openbsd.org>
Thu, 11 May 2023 12:36:22 +0000 (12:36 +0000)
commit7d148a58904ce73378e37cdec4a95be3c45c57a3
tree151231dc40b2e539f2bbb206baead94f917f258d
parent4acbf0ab74dd9a9d1b777ef58aaa7b6af67fe22d
pools are always initialised, zap overcautious NULL check

All pools are init'd after pfattach(), none is ever destroyed,
so struct pf_pool_limit's .pp always points to valid pools.

Drop a check for the impossible from twenty years ago.

OK sashan dlg
sys/net/pf_ioctl.c