diff options
author | Christoph Hellwig <[email protected]> | 2022-04-05 15:12:55 +0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2022-04-26 13:35:14 -0700 |
commit | 9f79b8b7233942e9c4b071f1f331f17e7282bbfa (patch) | |
tree | d0b4d6cc5aa25bfa8517c3277c1633300ecc8665 /net/lapb/lapb_subr.c | |
parent | 3123109284176b1532874591f7c81f3837bbdc17 (diff) |
uapi: simplify __ARCH_FLOCK{,64}_PAD a little
Don't bother to define the symbols empty, just don't use them.
That makes the intent a little more clear.
Remove the unused HAVE_ARCH_STRUCT_FLOCK64 define and merge the
32-bit mips struct flock into the generic one.
Add a new __ARCH_FLOCK_EXTRA_SYSID macro following the style of
__ARCH_FLOCK_PAD to avoid having a separate definition just for
one architecture.
Signed-off-by: Christoph Hellwig <[email protected]>
Signed-off-by: Guo Ren <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Tested-by: Heiko Stuebner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions