From: Claudio Jeker Subject: ospfd and friends, kill unused data field in struct imsgev To: tech@openbsd.org Date: Wed, 5 Aug 2026 13:10:25 +0200 Nothing uses data field in the struct imsgev. Time to kill it. -- :wq Claudio Index: dvmrpd/dvmrpd.h =================================================================== RCS file: /cvs/src/usr.sbin/dvmrpd/dvmrpd.h,v diff -u -p -r1.25 dvmrpd.h --- dvmrpd/dvmrpd.h 18 May 2024 11:17:30 -0000 1.25 +++ dvmrpd/dvmrpd.h 5 Aug 2026 11:06:37 -0000 @@ -57,7 +57,6 @@ struct imsgev { struct imsgbuf ibuf; void (*handler)(int, short, void *); struct event ev; - void *data; short events; }; Index: ospf6d/ospf6d.h =================================================================== RCS file: /cvs/src/usr.sbin/ospf6d/ospf6d.h,v diff -u -p -r1.53 ospf6d.h --- ospf6d/ospf6d.h 22 Jul 2026 16:37:46 -0000 1.53 +++ ospf6d/ospf6d.h 5 Aug 2026 11:05:53 -0000 @@ -70,7 +70,6 @@ struct imsgev { struct imsgbuf ibuf; void (*handler)(int, short, void *); struct event ev; - void *data; short events; }; Index: ospfd/ospfd.h =================================================================== RCS file: /cvs/src/usr.sbin/ospfd/ospfd.h,v diff -u -p -r1.109 ospfd.h --- ospfd/ospfd.h 25 Jun 2026 13:19:06 -0000 1.109 +++ ospfd/ospfd.h 5 Aug 2026 08:51:29 -0000 @@ -71,7 +71,6 @@ struct imsgev { struct imsgbuf ibuf; void (*handler)(int, short, void *); struct event ev; - void *data; short events; }; Index: ripd/ripd.h =================================================================== RCS file: /cvs/src/usr.sbin/ripd/ripd.h,v diff -u -p -r1.29 ripd.h --- ripd/ripd.h 22 Oct 2024 22:50:49 -0000 1.29 +++ ripd/ripd.h 5 Aug 2026 11:08:14 -0000 @@ -101,7 +101,6 @@ struct imsgev { struct imsgbuf ibuf; void (*handler)(int, short, void *); struct event ev; - void *data; short events; };