mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[PATCH] turn many #if $undefined_string into #ifdef $undefined_string
turn many #if $undefined_string into #ifdef $undefined_string to fix some warnings after -Wno-def was added to global CFLAGS Signed-off-by: Olaf Hering <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
02b775696f
commit
44456d37b5
38 changed files with 81 additions and 74 deletions
|
|
@ -792,13 +792,8 @@ int ip6_dst_lookup(struct sock *sk, struct dst_entry **dst, struct flowi *fl)
|
|||
if (ipv6_addr_any(&fl->fl6_src)) {
|
||||
err = ipv6_get_saddr(*dst, &fl->fl6_dst, &fl->fl6_src);
|
||||
|
||||
if (err) {
|
||||
#if IP6_DEBUG >= 2
|
||||
printk(KERN_DEBUG "ip6_dst_lookup: "
|
||||
"no available source address\n");
|
||||
#endif
|
||||
if (err)
|
||||
goto out_err_release;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue