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
Kirill Smelkov
linux
Commits
71c2e86e
Commit
71c2e86e
authored
Aug 19, 2003
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: Kill unused first argument in dev_get_idx().
parent
9386eeee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
net/core/dev.c
net/core/dev.c
+2
-3
No files found.
net/core/dev.c
View file @
71c2e86e
...
...
@@ -1836,8 +1836,7 @@ static int dev_ifconf(char *arg)
* This is invoked by the /proc filesystem handler to display a device
* in detail.
*/
static
__inline__
struct
net_device
*
dev_get_idx
(
struct
seq_file
*
seq
,
loff_t
pos
)
static
__inline__
struct
net_device
*
dev_get_idx
(
loff_t
pos
)
{
struct
net_device
*
dev
;
loff_t
i
;
...
...
@@ -1850,7 +1849,7 @@ static __inline__ struct net_device *dev_get_idx(struct seq_file *seq,
void
*
dev_seq_start
(
struct
seq_file
*
seq
,
loff_t
*
pos
)
{
read_lock
(
&
dev_base_lock
);
return
*
pos
?
dev_get_idx
(
seq
,
*
pos
-
1
)
:
(
void
*
)
1
;
return
*
pos
?
dev_get_idx
(
*
pos
-
1
)
:
(
void
*
)
1
;
}
void
*
dev_seq_next
(
struct
seq_file
*
seq
,
void
*
v
,
loff_t
*
pos
)
...
...
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