From: H Hartley Sweeten Date: Thu, 19 Jul 2012 01:34:15 +0000 (-0700) Subject: staging: comedi: adv_pci_dio: remove CheckAndAllocCard() X-Git-Tag: v3.6-rc1~100^2~123 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e10355b946a5b685ca16be7d7ba31e9571233bee;p=pandora-kernel.git staging: comedi: adv_pci_dio: remove CheckAndAllocCard() This driver creates a linked list of all the pci devices in the system while it's looking for a match. It's only use is to determine if a device is "free" to use. The pci_is_enabled() helper can give us the same information. Use that instead and remove the linked list. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed