aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/qlxgb
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-05-22 17:05:21 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-05-22 17:05:21 +0000
commitfd90e2ed54a69bb07d14dcd4e805431ccb7d6cb6 (patch)
tree9c598a67317c5e22e5e44d49e8bb797cb28e79b9 /sys/dev/qlxgb
parent316f4c880a15660086e5c9e7ee31f8b717e855f1 (diff)
CALLOUT_MPSAFE has lost its meaning since r141428, i.e., for more than ten
years for head. However, it is continuously misused as the mpsafe argument for callout_init(9). Deprecate the flag and clean up callout_init() calls to make them more consistent. Differential Revision: https://reviews.freebsd.org/D2613 Reviewed by: jhb MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=283291
Diffstat (limited to 'sys/dev/qlxgb')
-rw-r--r--sys/dev/qlxgb/qla_os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/qlxgb/qla_os.c b/sys/dev/qlxgb/qla_os.c
index 54619cb214f2..da1e34f0c5b9 100644
--- a/sys/dev/qlxgb/qla_os.c
+++ b/sys/dev/qlxgb/qla_os.c
@@ -378,7 +378,7 @@ qla_pci_attach(device_t dev)
ha->flags.qla_watchdog_active = 1;
ha->flags.qla_watchdog_pause = 1;
- callout_init(&ha->tx_callout, TRUE);
+ callout_init(&ha->tx_callout, 1);
/* create ioctl device interface */
if (qla_make_cdev(ha)) {