vt_get_kmsg_redirect() only has meaning to the console driver as an alias for calling vt_kmsg_redirect(). Move the macro definition to the only source file which uses it; remove from uapi/linux/vt.h
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -84,7 +84,4 @@ struct vt_setactivate { · 83 unmodified lines | |||
| 84 | 84 | ||
| 85 | #define VT_SETACTIVATE 0x560F /* Activate and set the mode of a console */ | 85 | #define VT_SETACTIVATE 0x560F /* Activate and set the mode of a console */ |
| 86 | 86 | ||
| 87 | |||
| 88 | #define vt_get_kmsg_redirect() vt_kmsg_redirect(-1) | ||
| 89 | |||
| 90 | #endif /* _UAPI_LINUX_VT_H */ | 87 | #endif /* _UAPI_LINUX_VT_H */ |