Fix ERROR:do not initialise statics to 0 in af_vsock.c
Found by scripts/checkpatch.pl Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9dde6da512
commit
a22d325142
|
@ -505,7 +505,7 @@ static void vsock_pending_work(struct work_struct *work)
|
|||
static int __vsock_bind_stream(struct vsock_sock *vsk,
|
||||
struct sockaddr_vm *addr)
|
||||
{
|
||||
static u32 port = 0;
|
||||
static u32 port;
|
||||
struct sockaddr_vm new_addr;
|
||||
|
||||
if (!port)
|
||||
|
|
Loading…
Reference in New Issue
Block a user