--- net/bluetooth/sco.c
+++ net/bluetooth/sco.c
@@ -700,7 +700,6 @@ static int sco_sock_getsockopt_old(struc
break;
}
- memset(&cinfo, 0, sizeof(cinfo));
cinfo.hci_handle = sco_pi(sk)->conn->hcon->handle;
memcpy(cinfo.dev_class, sco_pi(sk)->conn->hcon->dev_class, 3);