aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorGeliang Tang <[email protected]>2015-12-07 14:24:24 +0000
committerBjorn Helgaas <[email protected]>2015-12-11 01:38:07 +0000
commit96ae6469ba16ae502d2b2db4b5c9b7c846262999 (patch)
tree2b293b96b1a753e9070eccbafc012777c58fc4d4 /net/unix/af_unix.c
parentPCI: Simplify config space size computation (diff)
downloadkernel-96ae6469ba16ae502d2b2db4b5c9b7c846262999.tar.gz
kernel-96ae6469ba16ae502d2b2db4b5c9b7c846262999.zip
x86/PCI: Simplify pci_bios_{read,write}
There is some repetitive code in the switch/case statements in pci_bios_read() and pci_bios_write(). Factor out the BIOS function IDs and the result widths to simplify the code. Signed-off-by: Geliang Tang <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions