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
b0316615
Commit
b0316615
authored
Apr 04, 2013
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bluetooth: kill unused 'module' argument of bt_procfs_init()
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
14805359
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
10 additions
and
10 deletions
+10
-10
include/net/bluetooth/bluetooth.h
include/net/bluetooth/bluetooth.h
+1
-1
net/bluetooth/af_bluetooth.c
net/bluetooth/af_bluetooth.c
+2
-2
net/bluetooth/bnep/sock.c
net/bluetooth/bnep/sock.c
+1
-1
net/bluetooth/cmtp/sock.c
net/bluetooth/cmtp/sock.c
+1
-1
net/bluetooth/hci_sock.c
net/bluetooth/hci_sock.c
+1
-1
net/bluetooth/hidp/sock.c
net/bluetooth/hidp/sock.c
+1
-1
net/bluetooth/l2cap_sock.c
net/bluetooth/l2cap_sock.c
+1
-1
net/bluetooth/rfcomm/sock.c
net/bluetooth/rfcomm/sock.c
+1
-1
net/bluetooth/sco.c
net/bluetooth/sco.c
+1
-1
No files found.
include/net/bluetooth/bluetooth.h
View file @
b0316615
...
...
@@ -319,7 +319,7 @@ extern void hci_sock_cleanup(void);
extern
int
bt_sysfs_init
(
void
);
extern
void
bt_sysfs_cleanup
(
void
);
extern
int
bt_procfs_init
(
struct
module
*
module
,
struct
net
*
net
,
const
char
*
name
,
extern
int
bt_procfs_init
(
struct
net
*
net
,
const
char
*
name
,
struct
bt_sock_list
*
sk_list
,
int
(
*
seq_show
)(
struct
seq_file
*
,
void
*
));
extern
void
bt_procfs_cleanup
(
struct
net
*
net
,
const
char
*
name
);
...
...
net/bluetooth/af_bluetooth.c
View file @
b0316615
...
...
@@ -634,7 +634,7 @@ static const struct file_operations bt_fops = {
.
release
=
seq_release_private
};
int
bt_procfs_init
(
struct
module
*
module
,
struct
net
*
net
,
const
char
*
name
,
int
bt_procfs_init
(
struct
net
*
net
,
const
char
*
name
,
struct
bt_sock_list
*
sk_list
,
int
(
*
seq_show
)(
struct
seq_file
*
,
void
*
))
{
...
...
@@ -656,7 +656,7 @@ void bt_procfs_cleanup(struct net *net, const char *name)
remove_proc_entry
(
name
,
net
->
proc_net
);
}
#else
int
bt_procfs_init
(
struct
module
*
module
,
struct
net
*
net
,
const
char
*
name
,
int
bt_procfs_init
(
struct
net
*
net
,
const
char
*
name
,
struct
bt_sock_list
*
sk_list
,
int
(
*
seq_show
)(
struct
seq_file
*
,
void
*
))
{
...
...
net/bluetooth/bnep/sock.c
View file @
b0316615
...
...
@@ -234,7 +234,7 @@ int __init bnep_sock_init(void)
goto
error
;
}
err
=
bt_procfs_init
(
THIS_MODULE
,
&
init_net
,
"bnep"
,
&
bnep_sk_list
,
NULL
);
err
=
bt_procfs_init
(
&
init_net
,
"bnep"
,
&
bnep_sk_list
,
NULL
);
if
(
err
<
0
)
{
BT_ERR
(
"Failed to create BNEP proc file"
);
bt_sock_unregister
(
BTPROTO_BNEP
);
...
...
net/bluetooth/cmtp/sock.c
View file @
b0316615
...
...
@@ -245,7 +245,7 @@ int cmtp_init_sockets(void)
goto
error
;
}
err
=
bt_procfs_init
(
THIS_MODULE
,
&
init_net
,
"cmtp"
,
&
cmtp_sk_list
,
NULL
);
err
=
bt_procfs_init
(
&
init_net
,
"cmtp"
,
&
cmtp_sk_list
,
NULL
);
if
(
err
<
0
)
{
BT_ERR
(
"Failed to create CMTP proc file"
);
bt_sock_unregister
(
BTPROTO_HIDP
);
...
...
net/bluetooth/hci_sock.c
View file @
b0316615
...
...
@@ -1102,7 +1102,7 @@ int __init hci_sock_init(void)
goto
error
;
}
err
=
bt_procfs_init
(
THIS_MODULE
,
&
init_net
,
"hci"
,
&
hci_sk_list
,
NULL
);
err
=
bt_procfs_init
(
&
init_net
,
"hci"
,
&
hci_sk_list
,
NULL
);
if
(
err
<
0
)
{
BT_ERR
(
"Failed to create HCI proc file"
);
bt_sock_unregister
(
BTPROTO_HCI
);
...
...
net/bluetooth/hidp/sock.c
View file @
b0316615
...
...
@@ -284,7 +284,7 @@ int __init hidp_init_sockets(void)
goto
error
;
}
err
=
bt_procfs_init
(
THIS_MODULE
,
&
init_net
,
"hidp"
,
&
hidp_sk_list
,
NULL
);
err
=
bt_procfs_init
(
&
init_net
,
"hidp"
,
&
hidp_sk_list
,
NULL
);
if
(
err
<
0
)
{
BT_ERR
(
"Failed to create HIDP proc file"
);
bt_sock_unregister
(
BTPROTO_HIDP
);
...
...
net/bluetooth/l2cap_sock.c
View file @
b0316615
...
...
@@ -1292,7 +1292,7 @@ int __init l2cap_init_sockets(void)
goto
error
;
}
err
=
bt_procfs_init
(
THIS_MODULE
,
&
init_net
,
"l2cap"
,
&
l2cap_sk_list
,
err
=
bt_procfs_init
(
&
init_net
,
"l2cap"
,
&
l2cap_sk_list
,
NULL
);
if
(
err
<
0
)
{
BT_ERR
(
"Failed to create L2CAP proc file"
);
...
...
net/bluetooth/rfcomm/sock.c
View file @
b0316615
...
...
@@ -1036,7 +1036,7 @@ int __init rfcomm_init_sockets(void)
goto
error
;
}
err
=
bt_procfs_init
(
THIS_MODULE
,
&
init_net
,
"rfcomm"
,
&
rfcomm_sk_list
,
NULL
);
err
=
bt_procfs_init
(
&
init_net
,
"rfcomm"
,
&
rfcomm_sk_list
,
NULL
);
if
(
err
<
0
)
{
BT_ERR
(
"Failed to create RFCOMM proc file"
);
bt_sock_unregister
(
BTPROTO_RFCOMM
);
...
...
net/bluetooth/sco.c
View file @
b0316615
...
...
@@ -1083,7 +1083,7 @@ int __init sco_init(void)
goto
error
;
}
err
=
bt_procfs_init
(
THIS_MODULE
,
&
init_net
,
"sco"
,
&
sco_sk_list
,
NULL
);
err
=
bt_procfs_init
(
&
init_net
,
"sco"
,
&
sco_sk_list
,
NULL
);
if
(
err
<
0
)
{
BT_ERR
(
"Failed to create SCO proc file"
);
bt_sock_unregister
(
BTPROTO_SCO
);
...
...
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