staging: vt6656: Move vnt_rx_data to usbpipe.c
PATCH 1/1 staging: vt6656: Move vnt_rx_data to usbpipe.c
vnt_rx_data is a USB function and vnt_submit_rx_urb_complete is the only caller therefore removing dpc.c/h files and becoming static.
Signed-off-by Malcolm Priestley <[email protected]>
--- drivers/staging/vt6656/Makefile | 1 - drivers/staging/vt6656/dpc.c | 124 ------------------------------ drivers/staging/vt6656/dpc.h | 24 ------ drivers/staging/vt6656/main_usb.c | 1 - drivers/staging/vt6656/usbpipe.c | 102 +++++++++++++++++++++++- 5 files changed, 101 insertions(+), 151 deletions(-) delete mode 100644 drivers/staging/vt6656/dpc.c delete mode 100644 drivers/staging/vt6656/dpc.h
drivers/staging/vt6656/Makefile +0 -1
@@ -9,7 +9,6 @@ vt6656_stage-y += main_usb.o \ baseband.o \ wcmd.o\ rxtx.o \ - dpc.o \ power.o \ key.o \ rf.o \
drivers/staging/vt6656/dpc.c deleted +0 -124
124 lines not on this page · raw message
drivers/staging/vt6656/dpc.h deleted +0 -24
@@ -1,24 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ -/* -* Copyright (c) 1996, 2003 VIA Networking Technologies, Inc. -* All rights reserved. -* -* File: dpc.h -* -* Purpose: -* -* Author: Jerry Chen -* -* Date: Jun. 27, 2002 -* -*/ - -#ifndef __DPC_H__ -#define __DPC_H__ - -#include "device.h" - -int vnt_rx_data (struct vnt_private *priv,struct vnt_rcb *ptr_rcb, -unsigned long bytes_received); - -#endif /* __RXTX_H__ */
drivers/staging/vt6656/main_usb.c +0 -1
@@ -30,7 +30,6 @@#include "power.h" #include "wcmd.h" #include "rxtx.h" -#include "dpc.h" #include "rf.h" #include "firmware.h" #include "usbpipe.h"
drivers/staging/vt6656/usbpipe.c +101 -1
118 lines not on this page · raw message
Signature · 1 line
2.25.1