From: Nam Cao <namcaov@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev,
namcaov@gmail.com, phil@philpotter.co.uk,
Larry.Finger@lwfinger.net, paskripkin@gmail.com
Subject: [PATCH 2/2] staging: r8188eu: remove basic_types.h
Date: Mon, 20 Jun 2022 19:19:34 +0200 [thread overview]
Message-ID: <1b8200420a2a1b7276f49eb3c2768ef39d641713.1655745123.git.namcaov@gmail.com> (raw)
In-Reply-To: <cover.1655745123.git.namcaov@gmail.com>
Remove file basic_types.h because the content of this file is not used
anywhere.
Signed-off-by: Nam Cao <namcaov@gmail.com>
---
drivers/staging/r8188eu/include/basic_types.h | 19 -------------------
.../staging/r8188eu/include/osdep_service.h | 1 -
2 files changed, 20 deletions(-)
delete mode 100644 drivers/staging/r8188eu/include/basic_types.h
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
--
2.25.1
next prev parent reply other threads:[~2022-06-20 17:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-20 17:19 [PATCH 0/2] get rid of useless header file Nam Cao
2022-06-20 17:19 ` [PATCH 1/2] staging: r8188eu: replace N_BYTE_ALIGMENT with ALIGN Nam Cao
2022-06-20 17:19 ` Nam Cao [this message]
2022-06-20 20:02 ` [PATCH 0/2] get rid of useless header file Larry Finger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1b8200420a2a1b7276f49eb3c2768ef39d641713.1655745123.git.namcaov@gmail.com \
--to=namcaov@gmail.com \
--cc=Larry.Finger@lwfinger.net \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=paskripkin@gmail.com \
--cc=phil@philpotter.co.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®