Date: Thu, 16 Dec 2010 17:05:28 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/acpica acpi_hpet.c src/sys/x86/isa atrtc.c Message-ID: <201012161705.oBGH5vvk028016@repoman.freebsd.org>
index | next in thread | raw e-mail
jhb 2010-12-16 17:05:28 UTC
FreeBSD src repository
Modified files:
sys/dev/acpica acpi_hpet.c
sys/x86/isa atrtc.c
Log:
SVN rev 216490 on 2010-12-16 17:05:28Z by jhb
Small style fixes:
- Avoid side-effect assignments in if statements when possible.
- Don't use ! to check for NULL pointers, explicitly check against NULL.
- Explicitly check error return values against 0.
- Don't use INTR_MPSAFE for interrupt handlers with only filters as it is
meaningless.
- Remove unneeded function casts.
Revision Changes Path
1.36 +12 -14 src/sys/dev/acpica/acpi_hpet.c
1.13 +10 -10 src/sys/x86/isa/atrtc.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012161705.oBGH5vvk028016>
