Commit 9c6e9aa830071a442fb72ab05c15e2b2609636e3
1 parent
d21d6dde02
Exists in
master
and in
7 other branches
beceem: remove dead code
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Showing 2 changed files with 0 additions and 50 deletions Side-by-side Diff
drivers/staging/bcm/InterfaceTx.c
1 | 1 | #include "headers.h" |
2 | 2 | |
3 | - | |
4 | -/* | |
5 | -Function: InterfaceTxDataPacket | |
6 | - | |
7 | -Description: This is the hardware specific Function for Transmitting | |
8 | - data packet to the device. | |
9 | - | |
10 | -Input parameters: IN PMINI_ADAPTER Adapter - Miniport Adapter Context | |
11 | - PVOID Packet - Packet Containing the data to be transmitted | |
12 | - USHORT usVcid - VCID on which data packet is to be sent | |
13 | - | |
14 | - | |
15 | -Return: BCM_STATUS_SUCCESS - If Tx was successful. | |
16 | - Other - If an error occured. | |
17 | -*/ | |
18 | - | |
19 | -ULONG InterfaceTxDataPacket(PMINI_ADAPTER Adapter,PVOID Packet,USHORT usVcid) | |
20 | -{ | |
21 | - ULONG Status = 0; | |
22 | - return Status; | |
23 | -} | |
24 | - | |
25 | -/* | |
26 | -Function: InterfaceTxControlPacket | |
27 | - | |
28 | -Description: This is the hardware specific Function for Transmitting | |
29 | - control packet to the device. | |
30 | - | |
31 | -Input parameters: IN PMINI_ADAPTER Adapter - Miniport Adapter Context | |
32 | - PVOID pvBuffer - Buffer containg control packet | |
33 | - UINT uiBufferLength - Buffer Length | |
34 | - | |
35 | -Return: BCM_STATUS_SUCCESS - If control packet transmit was successful. | |
36 | - Other - If an error occured. | |
37 | -*/ | |
38 | - | |
39 | -ULONG InterfaceTxControlPacket(PMINI_ADAPTER Adapter,PVOID pvBuffer,UINT uiBufferLength) | |
40 | -{ | |
41 | - ULONG Status = 0; | |
42 | - | |
43 | - | |
44 | - | |
45 | - return Status; | |
46 | -} | |
47 | 3 | /*this is transmit call-back(BULK OUT)*/ |
48 | 4 | static void write_bulk_callback(struct urb *urb/*, struct pt_regs *regs*/) |
49 | 5 | { |
drivers/staging/bcm/InterfaceTx.h
... | ... | @@ -3,11 +3,5 @@ |
3 | 3 | |
4 | 4 | INT InterfaceTransmitPacket(PVOID arg, PVOID data, UINT len); |
5 | 5 | |
6 | - | |
7 | -ULONG InterfaceTxDataPacket(PMINI_ADAPTER Adapter,PVOID Packet,USHORT usVcid); | |
8 | - | |
9 | -ULONG InterfaceTxControlPacket(PMINI_ADAPTER Adapter,PVOID pvBuffer,UINT uiBufferLength); | |
10 | - | |
11 | - | |
12 | 6 | #endif |