Everywhere: Remove unnecessary clang-format offs

Mostly due to the fact that clang-format allows aligned comments via
AlignTrailingComments.

We could also use raw string literals in inline asm, which clang-format
deals with properly (and would be nicer in a lot of places).
This commit is contained in:
William McPherson 2021-03-04 19:15:17 +11:00 committed by Andreas Kling
parent 2119c9e801
commit 2479ead718
Notes: sideshowbarker 2024-07-18 21:43:52 +09:00
10 changed files with 8 additions and 29 deletions

View file

@ -648,7 +648,6 @@ struct ifreq {
unsigned int ifru_index;
} ifr_ifru;
// clang-format off
#define ifr_addr ifr_ifru.ifru_addr // address
#define ifr_dstaddr ifr_ifru.ifru_dstaddr // other end of p-to-p link
#define ifr_broadaddr ifr_ifru.ifru_broadaddr // broadcast address
@ -665,7 +664,6 @@ struct ifreq {
#define ifr_index ifr_ifru.ifru_index // interface index
#define ifr_llprio ifr_ifru.ifru_metric // link layer priority
#define ifr_hwaddr ifr_ifru.ifru_hwaddr // MAC address
// clang-format on
};
struct rtentry {