summaryrefslogtreecommitdiffstats
path: root/include/linux/pci_hotplug.h
diff options
context:
space:
mode:
authorPaul Gortmaker2011-05-26 21:34:12 +0200
committerPaul Gortmaker2011-11-01 00:32:31 +0100
commit7c926402a7e8c9b279968fd94efec8700ba3859e (patch)
tree8b2c0049e0fb887aec31ea4cbc040834b8ab416c /include/linux/pci_hotplug.h
parentuwb.h: fix implicit use of asm/page.h for PAGE_SIZE (diff)
downloadkernel-qcow2-linux-7c926402a7e8c9b279968fd94efec8700ba3859e.tar.gz
kernel-qcow2-linux-7c926402a7e8c9b279968fd94efec8700ba3859e.tar.xz
kernel-qcow2-linux-7c926402a7e8c9b279968fd94efec8700ba3859e.zip
crypto.h: remove unused crypto_tfm_alg_modname() inline
The <linux/crypto.h> (which is in turn in common headers like tcp.h) wants to use module_name() in an inline fcn. But having all of <linux/module.h> along for the ride is overkill and slows down compiles by a measureable amount, since it in turn includes lots of headers. Since the inline is never used anywhere in the kernel[1], we can just remove it, and then also remove the module.h include as well. In all the many crypto modules, there were some relying on crypto.h including module.h -- for them we now explicitly call out module.h for inclusion. [1] git grep shows some staging drivers also define the same static inline, but they also never ever use it. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'include/linux/pci_hotplug.h')
0 files changed, 0 insertions, 0 deletions