mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	net: Remove some unneeded semicolon
These semicolons are not needed. Just remove them. Signed-off-by: zhong jiang <zhongjiang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
		
							parent
							
								
									a01512b14d
								
							
						
					
					
						commit
						07d53ae4fb
					
				
					 4 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
					@ -397,7 +397,7 @@ int inet_pton_with_scope(struct net *net, __kernel_sa_family_t af,
 | 
				
			||||||
		break;
 | 
							break;
 | 
				
			||||||
	default:
 | 
						default:
 | 
				
			||||||
		pr_err("unexpected address family %d\n", af);
 | 
							pr_err("unexpected address family %d\n", af);
 | 
				
			||||||
	};
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	return ret;
 | 
						return ret;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -134,7 +134,7 @@ static void update_defense_level(struct netns_ipvs *ipvs)
 | 
				
			||||||
		} else {
 | 
							} else {
 | 
				
			||||||
			atomic_set(&ipvs->dropentry, 0);
 | 
								atomic_set(&ipvs->dropentry, 0);
 | 
				
			||||||
			ipvs->sysctl_drop_entry = 1;
 | 
								ipvs->sysctl_drop_entry = 1;
 | 
				
			||||||
		};
 | 
							}
 | 
				
			||||||
		break;
 | 
							break;
 | 
				
			||||||
	case 3:
 | 
						case 3:
 | 
				
			||||||
		atomic_set(&ipvs->dropentry, 1);
 | 
							atomic_set(&ipvs->dropentry, 1);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1582,7 +1582,7 @@ static int fanout_set_data(struct packet_sock *po, char __user *data,
 | 
				
			||||||
		return fanout_set_data_ebpf(po, data, len);
 | 
							return fanout_set_data_ebpf(po, data, len);
 | 
				
			||||||
	default:
 | 
						default:
 | 
				
			||||||
		return -EINVAL;
 | 
							return -EINVAL;
 | 
				
			||||||
	};
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static void fanout_release_data(struct packet_fanout *f)
 | 
					static void fanout_release_data(struct packet_fanout *f)
 | 
				
			||||||
| 
						 | 
					@ -1591,7 +1591,7 @@ static void fanout_release_data(struct packet_fanout *f)
 | 
				
			||||||
	case PACKET_FANOUT_CBPF:
 | 
						case PACKET_FANOUT_CBPF:
 | 
				
			||||||
	case PACKET_FANOUT_EBPF:
 | 
						case PACKET_FANOUT_EBPF:
 | 
				
			||||||
		__fanout_set_data_bpf(f, NULL);
 | 
							__fanout_set_data_bpf(f, NULL);
 | 
				
			||||||
	};
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static bool __fanout_id_is_free(struct sock *sk, u16 candidate_id)
 | 
					static bool __fanout_id_is_free(struct sock *sk, u16 candidate_id)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -517,7 +517,7 @@ gss_alloc_msg(struct gss_auth *gss_auth,
 | 
				
			||||||
		err = gss_encode_v1_msg(gss_msg, service_name, gss_auth->target_name);
 | 
							err = gss_encode_v1_msg(gss_msg, service_name, gss_auth->target_name);
 | 
				
			||||||
		if (err)
 | 
							if (err)
 | 
				
			||||||
			goto err_put_pipe_version;
 | 
								goto err_put_pipe_version;
 | 
				
			||||||
	};
 | 
						}
 | 
				
			||||||
	kref_get(&gss_auth->kref);
 | 
						kref_get(&gss_auth->kref);
 | 
				
			||||||
	return gss_msg;
 | 
						return gss_msg;
 | 
				
			||||||
err_put_pipe_version:
 | 
					err_put_pipe_version:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue