summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2021-12-06 23:51:44 +0100
committerThomas Gleixner <tglx@linutronix.de>2021-12-16 22:22:20 +0100
commitef8dd01538ea2553ab101ddce6a85a321406d9c0 (patch)
tree684fcb9e6e7f19477f0690d7831c82d087464eb0 /.clang-format
parentplatform-msi: Simplify platform device MSI code (diff)
downloadlinux-ef8dd01538ea2553ab101ddce6a85a321406d9c0.tar.xz
linux-ef8dd01538ea2553ab101ddce6a85a321406d9c0.zip
genirq/msi: Make interrupt allocation less convoluted
There is no real reason to do several loops over the MSI descriptors instead of just doing one loop. In case of an error everything is undone anyway so it does not matter whether it's a partial or a full rollback. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Michael Kelley <mikelley@microsoft.com> Tested-by: Nishanth Menon <nm@ti.com> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/20211206210749.010234767@linutronix.de
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format1
1 files changed, 0 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format
index 15d4eaabc6b5..fa959436bcfd 100644
--- a/.clang-format
+++ b/.clang-format
@@ -216,7 +216,6 @@ ForEachMacros:
- 'for_each_migratetype_order'
- 'for_each_msi_entry'
- 'for_each_msi_entry_safe'
- - 'for_each_msi_vector'
- 'for_each_net'
- 'for_each_net_continue_reverse'
- 'for_each_netdev'