netmap: Stop printing a line to the dmesg in netmap_init()
netmap is compiled into the kernel by default so initialization was always reported, and netmap uses a formatting convention not used in the rest of the kernel. Reviewed by: vmaffione MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D29099
This commit is contained in:
parent
afbee98232
commit
fef8450971
@ -4347,7 +4347,9 @@ netmap_init(void)
|
|||||||
if (error)
|
if (error)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
|
#if !defined(__FreeBSD__) || defined(KLD_MODULE)
|
||||||
nm_prinf("netmap: loaded module");
|
nm_prinf("netmap: loaded module");
|
||||||
|
#endif
|
||||||
return (0);
|
return (0);
|
||||||
fail:
|
fail:
|
||||||
netmap_fini();
|
netmap_fini();
|
||||||
|
Loading…
Reference in New Issue
Block a user