svn commit: r292977 - user/ngie/stable-10-libnv/sys/dev/pci

Garrett Cooper ngie at FreeBSD.org
Thu Dec 31 04:14:07 UTC 2015


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;
 


More information about the svn-src-user mailing list