summaryrefslogtreecommitdiff
path: root/package/libertas/src/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'package/libertas/src/compat.h')
-rw-r--r--package/libertas/src/compat.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/package/libertas/src/compat.h b/package/libertas/src/compat.h
deleted file mode 100644
index 26c636343e..0000000000
--- a/package/libertas/src/compat.h
+++ /dev/null
@@ -1,17 +0,0 @@
-#ifndef __COMPAT_H
-#define __COMPAT_H
-
-#include <linux/kernel.h>
-#include <linux/types.h>
-
-#define MAC_FMT "%02x:%02x:%02x:%02x:%02x:%02x"
-#define DECLARE_MAC_BUF(var) char var[18] __maybe_unused
-
-static inline char *print_mac(char *buf, const u8 *addr)
-{
- sprintf(buf, MAC_FMT,
- addr[0], addr[1], addr[2], addr[3], addr[4], addr[5]);
- return buf;
-}
-
-#endif