aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNam Cao <namcaov@gmail.com>2022-06-20 19:19:34 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-21 09:05:22 +0200
commit263929afa4d674b2f1ab92801ff29a133171f757 (patch)
tree8a83cf52161397eac387798d40e965fd56670a28
parentstaging: r8188eu: replace N_BYTE_ALIGMENT with ALIGN (diff)
downloadlinux-dev-263929afa4d674b2f1ab92801ff29a133171f757.tar.xz
linux-dev-263929afa4d674b2f1ab92801ff29a133171f757.zip
staging: r8188eu: remove basic_types.h
Remove file basic_types.h because the content of this file is not used anywhere. Acked-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Nam Cao <namcaov@gmail.com> Link: https://lore.kernel.org/r/1b8200420a2a1b7276f49eb3c2768ef39d641713.1655745123.git.namcaov@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/r8188eu/include/basic_types.h19
-rw-r--r--drivers/staging/r8188eu/include/osdep_service.h1
2 files changed, 0 insertions, 20 deletions
diff --git a/drivers/staging/r8188eu/include/basic_types.h b/drivers/staging/r8188eu/include/basic_types.h
deleted file mode 100644
index 0b71e2c6e41a..000000000000
--- a/drivers/staging/r8188eu/include/basic_types.h
+++ /dev/null
@@ -1,19 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
-/* Copyright(c) 2007 - 2011 Realtek Corporation. */
-
-#ifndef __BASIC_TYPES_H__
-#define __BASIC_TYPES_H__
-
-#include <linux/types.h>
-#define NDIS_OID uint
-
-typedef void (*proc_t)(void *);
-
-/* port from fw */
-/* TODO: Macros Below are Sync from SD7-Driver. It is necessary
- * to check correctness */
-
-#define N_BYTE_ALIGMENT(__value, __aligment) ((__aligment == 1) ? \
- (__value) : (((__value + __aligment - 1) / __aligment) * __aligment))
-
-#endif /* __BASIC_TYPES_H__ */
diff --git a/drivers/staging/r8188eu/include/osdep_service.h b/drivers/staging/r8188eu/include/osdep_service.h
index f1a703643e74..1d97d5be46d5 100644
--- a/drivers/staging/r8188eu/include/osdep_service.h
+++ b/drivers/staging/r8188eu/include/osdep_service.h
@@ -5,7 +5,6 @@
#define __OSDEP_SERVICE_H_
#include <linux/sched/signal.h>
-#include "basic_types.h"
#define _FAIL 0
#define _SUCCESS 1