From: H Hartley Sweeten Date: Wed, 27 Jun 2012 00:54:38 +0000 (-0700) Subject: staging: comedi: cb_pcidas: remove the PCI BAR index defines X-Git-Tag: v3.6-rc1~100^2~499 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7302abef2ef3c6aae739f578a67504bb84974199;p=pandora-kernel.git staging: comedi: cb_pcidas: remove the PCI BAR index defines The defines for the "indices of the base address regions" don't add much to the readability of the code. They are only used in the pci_resource_start() calls to get the base address for the various io regions and the names of the variables provide adequate documentation. Remove the defines and just use the open-coded values for the BARs. Also, remove the incomplete comment above the initialization of the variables. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed