netdump: Fix !COMPAT_FREEBSD11 unused variable warning

Reported by:	Ralf Wenk <iz-rpi03_hs-karlsruhe.de>
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Conrad Meyer 2019-04-23 17:05:57 +00:00
parent e53f03384e
commit a9f7f19242
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346599

View File

@ -1140,7 +1140,9 @@ netdump_ioctl(struct cdev *dev __unused, u_long cmd, caddr_t addr,
struct netdump_conf *conf;
uint8_t *encryptedkey;
int error;
#ifdef COMPAT_FREEBSD11
u_int u;
#endif
error = 0;
switch (cmd) {