Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
criu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhul
criu
Commits
f89170ea
Commit
f89170ea
authored
Apr 06, 2012
by
Pavel Emelyanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sockets: Remove unused listen hash
Signed-off-by:
Pavel Emelyanov
<
xemul@parallels.com
>
parent
b3867516
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
20 deletions
+0
-20
sockets.c
sockets.c
+0
-20
No files found.
sockets.c
View file @
f89170ea
...
...
@@ -64,14 +64,6 @@ struct unix_sk_listen_icon {
struct
unix_sk_listen_icon
*
next
;
};
struct
unix_sk_listen
{
unsigned
int
ino
;
struct
sockaddr_un
addr
;
unsigned
int
addrlen
;
int
type
;
struct
unix_sk_listen
*
next
;
};
#define INET_ADDR_LEN 40
struct
inet_sk_desc
{
...
...
@@ -208,18 +200,6 @@ __gen_static_lookup_func(struct unix_sk_listen_icon,
unix_listen_icons
,
peer_ino
,
unsigned
int
,
ino
);
static
struct
unix_sk_listen
*
unix_listen
[
SK_HASH_SIZE
];
static
struct
unix_sk_listen
*
lookup_unix_listen
(
unsigned
int
ino
,
int
type
)
{
struct
unix_sk_listen
*
l
;
for
(
l
=
unix_listen
[
ino
%
SK_HASH_SIZE
];
l
!=
NULL
;
l
=
l
->
next
)
if
((
l
->
ino
==
ino
)
&&
(
l
->
type
==
type
))
return
l
;
return
NULL
;
}
static
int
sk_collect_one
(
int
ino
,
int
family
,
struct
socket_desc
*
d
)
{
d
->
ino
=
ino
;
...
...
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