diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2017-02-20 03:43:12 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2017-02-20 03:43:12 +0000 |
commit | 4d24901ac9131267fd188c5e1ee19a219847238a (patch) | |
tree | c6b56412f6ca4e7ffd1dc366d2fc51f7fa34600f /sys/dev/firewire | |
parent | 85161825cf4af1294d9464badbe675a1419bd4fd (diff) | |
download | src-4d24901ac9131267fd188c5e1ee19a219847238a.tar.gz src-4d24901ac9131267fd188c5e1ee19a219847238a.zip |
sys/dev: Replace zero with NULL for pointers.
Makes things easier to read, plus architectures may set NULL to something
different than zero.
Found with: devel/coccinelle
MFC after: 3 weeks
Notes
Notes:
svn path=/head/; revision=313982
Diffstat (limited to 'sys/dev/firewire')
-rw-r--r-- | sys/dev/firewire/if_fwip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/firewire/if_fwip.c b/sys/dev/firewire/if_fwip.c index 0a958b2b2c0d..3928ef13ae5b 100644 --- a/sys/dev/firewire/if_fwip.c +++ b/sys/dev/firewire/if_fwip.c @@ -575,7 +575,7 @@ fwip_async_output(struct fwip_softc *fwip, struct ifnet *ifp) */ mtag = m_tag_locate(m, MTAG_FIREWIRE, MTAG_FIREWIRE_HWADDR, 0); if (mtag == NULL) - destfw = 0; + destfw = NULL; else destfw = (struct fw_hwaddr *) (mtag + 1); |