diff options
author | pfg <pfg@FreeBSD.org> | 2016-04-12 17:23:03 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2016-04-12 17:23:03 +0000 |
commit | 3a7d342befa3ff4d0e3ecd5baf88e128a41b636f (patch) | |
tree | 2f5a51580e841bd5961e1fbce270ccde7b31ac18 /sys/dev/sound/pci/t4dwave.c | |
parent | 0ab6713ed2e7e2549651f3b4b88650e3bb644acb (diff) | |
download | FreeBSD-src-3a7d342befa3ff4d0e3ecd5baf88e128a41b636f.zip FreeBSD-src-3a7d342befa3ff4d0e3ecd5baf88e128a41b636f.tar.gz |
Replace 0 with NULL for pointers in misc. device drivers.
Found with devel/coccinelle.
Diffstat (limited to 'sys/dev/sound/pci/t4dwave.c')
-rw-r--r-- | sys/dev/sound/pci/t4dwave.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/t4dwave.c b/sys/dev/sound/pci/t4dwave.c index 32ddd00..6530b5b 100644 --- a/sys/dev/sound/pci/t4dwave.c +++ b/sys/dev/sound/pci/t4dwave.c @@ -823,7 +823,7 @@ static int tr_pci_attach(device_t dev) { struct tr_info *tr; - struct ac97_info *codec = 0; + struct ac97_info *codec = NULL; bus_addr_t lowaddr; int i, dacn; char status[SND_STATUSLEN]; |