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
fad9fecf
Commit
fad9fecf
authored
Oct 27, 2004
by
Hideaki Yoshifuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IPV6] kill a warning when building without CONFIG_SYSCTL.
Signed-off-by:
Hideaki YOSHIFUJI
<
yoshfuji@linux-ipv6.org
>
parent
de0b4832
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
net/ipv6/addrconf.c
net/ipv6/addrconf.c
+2
-1
No files found.
net/ipv6/addrconf.c
View file @
fad9fecf
...
@@ -404,6 +404,7 @@ static struct inet6_dev * ipv6_find_idev(struct net_device *dev)
...
@@ -404,6 +404,7 @@ static struct inet6_dev * ipv6_find_idev(struct net_device *dev)
return
idev
;
return
idev
;
}
}
#ifdef CONFIG_SYSCTL
static
void
dev_forward_change
(
struct
inet6_dev
*
idev
)
static
void
dev_forward_change
(
struct
inet6_dev
*
idev
)
{
{
struct
net_device
*
dev
;
struct
net_device
*
dev
;
...
@@ -449,7 +450,7 @@ static void addrconf_forward_change(void)
...
@@ -449,7 +450,7 @@ static void addrconf_forward_change(void)
}
}
read_unlock
(
&
dev_base_lock
);
read_unlock
(
&
dev_base_lock
);
}
}
#endif
/* Nobody refers to this ifaddr, destroy it */
/* Nobody refers to this ifaddr, destroy it */
...
...
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