From: Xenia Ragiadakou Date: Fri, 15 Nov 2013 01:18:08 +0000 (+0200) Subject: xhci: remove conversion from generic to pci device in xhci_mem.c X-Git-Tag: v3.14-rc1~148^2~130^2~65^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a100047481a5c7430c72883b586eb6f2df34812;p=pandora-kernel.git xhci: remove conversion from generic to pci device in xhci_mem.c This patch removes the to_pci_dev() conversion performed to generic struct device since it is not actually useful (the pointer to the generic device can be used directly rather through a conversion to pci_dev) and it is pci bus specific. This isn't stable material because this code will produce harmless behavior on non-PCI xHCI hosts. The pci_device pointer is never dereferenced, only used to re-calculate the underlying device pointer. Signed-off-by: Xenia Ragiadakou Signed-off-by: Sarah Sharp --- Reading git-diff-tree failed