From 3a7d342befa3ff4d0e3ecd5baf88e128a41b636f Mon Sep 17 00:00:00 2001 From: pfg Date: Tue, 12 Apr 2016 17:23:03 +0000 Subject: Replace 0 with NULL for pointers in misc. device drivers. Found with devel/coccinelle. --- sys/dev/sound/pci/t4dwave.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/sound/pci/t4dwave.c') 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]; -- cgit v1.1