From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Andrzej Siewior Subject: [PATCH] rxrpc: remove unused static variables Date: Tue, 27 Jun 2017 18:18:18 +0200 Message-ID: <20170627161818.30346-1-bigeasy@linutronix.de> Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Cc: tglx@linutronix.de, Sebastian Andrzej Siewior , David Howells , netdev@vger.kernel.org To: "David S. Miller" Return-path: Received: from Galois.linutronix.de ([146.0.238.70]:47204 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751507AbdF0QSc (ORCPT ); Tue, 27 Jun 2017 12:18:32 -0400 Sender: netdev-owner@vger.kernel.org List-ID: The rxrpc_security_methods and rxrpc_security_sem user has been removed in 648af7fca159 ("rxrpc: Absorb the rxkad security module"). This was noticed by kbuild test robot for the -RT tree but is also true for !RT. Reported-by: kbuild test robot Cc: "David S. Miller" Cc: David Howells Cc: netdev@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior --- net/rxrpc/security.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/net/rxrpc/security.c b/net/rxrpc/security.c index 7d921e56e715..13df56a738e5 100644 --- a/net/rxrpc/security.c +++ b/net/rxrpc/security.c @@ -19,9 +19,6 @@ #include #include "ar-internal.h" =20 -static LIST_HEAD(rxrpc_security_methods); -static DECLARE_RWSEM(rxrpc_security_sem); - static const struct rxrpc_security *rxrpc_security_types[] =3D { [RXRPC_SECURITY_NONE] =3D &rxrpc_no_security, #ifdef CONFIG_RXKAD --=20 2.13.1