Date: Thu, 31 Dec 2015 04:14:06 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r292977 - user/ngie/stable-10-libnv/sys/dev/pci Message-ID: <201512310414.tBV4E6Se046684@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Thu Dec 31 04:14:05 2015 New Revision: 292977 URL: https://svnweb.freebsd.org/changeset/base/292977 Log: MFstable/10 @ r292976 Modified: user/ngie/stable-10-libnv/sys/dev/pci/pci.c Directory Properties: user/ngie/stable-10-libnv/ (props changed) Modified: user/ngie/stable-10-libnv/sys/dev/pci/pci.c ============================================================================== --- user/ngie/stable-10-libnv/sys/dev/pci/pci.c Thu Dec 31 04:01:52 2015 (r292976) +++ user/ngie/stable-10-libnv/sys/dev/pci/pci.c Thu Dec 31 04:14:05 2015 (r292977) @@ -614,8 +614,6 @@ pci_read_device(device_t pcib, int d, in if (REG(PCIR_DEVVENDOR, 4) != 0xfffffffful) { devlist_entry = malloc(size, M_DEVBUF, M_WAITOK | M_ZERO); - if (devlist_entry == NULL) - return (NULL); cfg = &devlist_entry->cfg;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512310414.tBV4E6Se046684>