Commit 9f50d13f authored by Larry Finger's avatar Larry Finger Committed by Greg Kroah-Hartman
Browse files

staging: r8188eu: Remove header file include/usb_hal.h



This header only includes one prototype and one define statement. The
new definition is used once, thus it can be removed. The prototype is
moved to a header that is already called by the supplier and the user
of that routine, thus the small header is removed.

Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Link: https://lore.kernel.org/r/20210729170930.23171-5-Larry.Finger@lwfinger.net


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a14c876f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -5,7 +5,6 @@
#include <osdep_service.h>
#include <drv_types.h>
#include <hal_intf.h>
#include <usb_hal.h>

void rtw_hal_chip_configure(struct adapter *adapt)
{
+0 −1
Original line number Diff line number Diff line
@@ -11,7 +11,6 @@
#include <rtl8188e_led.h>
#include <rtw_iol.h>
#include <usb_ops.h>
#include <usb_hal.h>
#include <usb_osintf.h>

#define		HAL_MAC_ENABLE	1
+1 −0
Original line number Diff line number Diff line
@@ -309,6 +309,7 @@ enum hardware_type {

#define is_boot_from_eeprom(adapter) (adapter->eeprompriv.EepromOrEfuse)

void rtl8188eu_set_hal_ops(struct adapter *padapter);
void rtw_hal_def_value_init(struct adapter *padapter);

void	rtw_hal_free_data(struct adapter *padapter);
+0 −10
Original line number Diff line number Diff line
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
/* Copyright(c) 2007 - 2011 Realtek Corporation. */

#ifndef __USB_HAL_H__
#define __USB_HAL_H__

void rtl8188eu_set_hal_ops(struct adapter *padapter);
#define hal_set_hal_ops	rtl8188eu_set_hal_ops

#endif /* __USB_HAL_H__ */
+0 −1
Original line number Diff line number Diff line
@@ -12,7 +12,6 @@
#include <rtw_version.h>

#include <usb_osintf.h>
#include <usb_hal.h>
#include <rtw_br_ext.h>
#include <linux/version.h>

Loading