Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
c2af9bbd
Commit
c2af9bbd
authored
Sep 24, 2002
by
Arnaldo Carvalho de Melo
Committed by
David S. Miller
Sep 24, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[LLC] remove sap->mac_pdu_q, not used at all
Also remove some unneeded struct forward declarations.
parent
97ef8f8c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
7 deletions
+0
-7
include/net/llc_conn.h
include/net/llc_conn.h
+0
-2
include/net/llc_main.h
include/net/llc_main.h
+0
-1
include/net/llc_sap.h
include/net/llc_sap.h
+0
-3
net/llc/llc_main.c
net/llc/llc_main.c
+0
-1
No files found.
include/net/llc_conn.h
View file @
c2af9bbd
...
...
@@ -70,8 +70,6 @@ struct llc_opt {
#define llc_sk(__sk) ((struct llc_opt *)(__sk)->protinfo)
struct
llc_conn_state_ev
;
extern
struct
sock
*
llc_sk_alloc
(
int
family
,
int
priority
);
extern
void
llc_sk_free
(
struct
sock
*
sk
);
...
...
include/net/llc_main.h
View file @
c2af9bbd
...
...
@@ -52,7 +52,6 @@ struct llc_station {
}
ev_q
;
struct
sk_buff_head
mac_pdu_q
;
};
struct
llc_station_state_ev
;
extern
struct
llc_sap
*
llc_sap_alloc
(
void
);
extern
void
llc_sap_save
(
struct
llc_sap
*
sap
);
...
...
include/net/llc_sap.h
View file @
c2af9bbd
...
...
@@ -23,7 +23,6 @@
* @laddr - SAP value in this 'lsap'
* @node - entry in station sap_list
* @sk_list - LLC sockets this one manages
* @mac_pdu_q - PDUs ready to send to MAC
*/
struct
llc_sap
{
struct
llc_station
*
station
;
...
...
@@ -39,9 +38,7 @@ struct llc_sap {
rwlock_t
lock
;
struct
sock
*
list
;
}
sk_list
;
struct
sk_buff_head
mac_pdu_q
;
};
struct
llc_sap_state_ev
;
extern
void
llc_sap_assign_sock
(
struct
llc_sap
*
sap
,
struct
sock
*
sk
);
extern
void
llc_sap_unassign_sock
(
struct
llc_sap
*
sap
,
struct
sock
*
sk
);
...
...
net/llc/llc_main.c
View file @
c2af9bbd
...
...
@@ -71,7 +71,6 @@ struct llc_sap *llc_sap_alloc(void)
sap
->
state
=
LLC_SAP_STATE_ACTIVE
;
memcpy
(
sap
->
laddr
.
mac
,
llc_main_station
.
mac_sa
,
ETH_ALEN
);
spin_lock_init
(
&
sap
->
sk_list
.
lock
);
skb_queue_head_init
(
&
sap
->
mac_pdu_q
);
}
return
sap
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment