Merge branch 'genetlink-remove-linux-genetlink-h'
authorJakub Kicinski <kuba@kernel.org>
Tue, 2 Apr 2024 04:44:35 +0000 (21:44 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 2 Apr 2024 04:44:36 +0000 (21:44 -0700)
commitedaa34e68c8113f1625244689107567bf5bd1637
tree8791061a86c277c7aafd86283c428eee6cc3e08c
parent092ca10741c19b4ffd975f09c456edeb9d58bccc
parentcd7209628cdb2a7edd7656c126d2455e7102e949
Merge branch 'genetlink-remove-linux-genetlink-h'

Jakub Kicinski says:

====================
genetlink: remove linux/genetlink.h

There are two genetlink headers net/genetlink.h and linux/genetlink.h
This is similar to netlink.h, but for netlink.h both contain good
amount of code. For genetlink.h the linux/ version is leftover
from before uAPI headers were split out, it has 10 lines of code.
Move those 10 lines into other appropriate headers and delete
linux/genetlink.h.

I occasionally open the wrong header in the editor when coding,
I guess I'm not the only one.

v2: https://lore.kernel.org/all/20240325173716.2390605-1-kuba@kernel.org/
v1: https://lore.kernel.org/all/20240309183458.3014713-1-kuba@kernel.org
====================

Link: https://lore.kernel.org/r/20240329175710.291749-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>