From 4b6e625af44b60a043a09fa4611c34fa358aa226 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Thu, 18 Aug 2022 12:47:50 -0400 Subject: lib/printbuf: Clean up headers - Delete a userspace compatibility bit; this isn't how we're doing it elsewhere - Alphabetize the headers Signed-off-by: Kent Overstreet --- lib/printbuf.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/lib/printbuf.c b/lib/printbuf.c index 2aa4a1b7294e..5cf79d43f5a4 100644 --- a/lib/printbuf.c +++ b/lib/printbuf.c @@ -1,17 +1,12 @@ // SPDX-License-Identifier: LGPL-2.1+ /* Copyright (C) 2022 Kent Overstreet */ -#ifdef __KERNEL__ +#include #include #include -#else -#define EXPORT_SYMBOL(x) -#endif - -#include +#include #include #include -#include static inline unsigned printbuf_linelen(struct printbuf *buf) { -- cgit v1.2.3