lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 20 May 2011 16:13:01 -0300
From:	"Gustavo F. Padovan" <padovan@...fusion.mobi>
To:	linux-kernel@...r.kernel.org
Cc:	Thomas Gleixner <tglx@...utronix.de> (maintainer:X86
	ARCHITECTURE...,commit_signer:1/8=12%),
	Ingo Molnar <mingo@...hat.com> (maintainer:X86 ARCHITECTURE... 
	,commit_signer:6/8=75%),
	"H. Peter Anvin" <hpa@...or.com> (maintainer:X86 ARCHITECTURE...),
	x86@...nel.org (maintainer:X86 ARCHITECTURE...),
	Cliff Wickman <cpw@....com> (commit_signer:3/8=38%),
	"Gustavo F. Padovan" <padovan@...fusion.mobi> (commit_signer:1/8=12%),
	Jesper Juhl <jj@...osbits.net> (commit_signer:1/8=12%)
Subject: [PATCH 4/8] x86: Kill set but not used warnings in tlb_uv.c

Signed-off-by: Gustavo F. Padovan <padovan@...fusion.mobi>
---
 arch/x86/platform/uv/tlb_uv.c |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c
index c58e0ea..0f296e8 100644
--- a/arch/x86/platform/uv/tlb_uv.c
+++ b/arch/x86/platform/uv/tlb_uv.c
@@ -134,7 +134,6 @@ static inline void uv_bau_process_retry_msg(struct msg_desc *mdp,
 {
 	int i;
 	int cancel_count = 0;
-	int slot2;
 	unsigned long msg_res;
 	unsigned long mmr = 0;
 	struct bau_payload_queue_entry *msg;
@@ -159,7 +158,6 @@ static inline void uv_bau_process_retry_msg(struct msg_desc *mdp,
 			msg->sw_ack_vector) == 0) &&
 		    (msg2->sending_cpu == msg->sending_cpu) &&
 		    (msg2->msg_type != MSG_NOOP)) {
-			slot2 = msg2 - mdp->va_queue_first;
 			mmr = uv_read_local_mmr
 				(UVH_LB_BAU_INTD_SOFTWARE_ACKNOWLEDGE);
 			msg_res = msg2->sw_ack_vector;
@@ -278,7 +276,6 @@ static void
 uv_do_reset(void *ptr)
 {
 	int i;
-	int slot;
 	int count = 0;
 	unsigned long mmr;
 	unsigned long msg_res;
@@ -310,7 +307,6 @@ uv_do_reset(void *ptr)
 			 * make everyone else ignore this message
 			 */
 			msg->canceled = 1;
-			slot = msg - bcp->va_queue_first;
 			count++;
 			/*
 			 * only reset the resource if it is still pending
@@ -404,9 +400,6 @@ static int uv_wait_completion(struct bau_desc *bau_desc,
 	unsigned long descriptor_status;
 	cycles_t ttime;
 	struct ptc_stats *stat = bcp->statp;
-	struct bau_control *hmaster;
-
-	hmaster = bcp->uvhub_master;
 
 	/* spin on the status MMR, waiting for it to go idle */
 	while ((descriptor_status = (((unsigned long)
@@ -1409,14 +1402,12 @@ uv_payload_queue_init(int node, int pnode)
 	char *cp;
 	unsigned long pa;
 	struct bau_payload_queue_entry *pqp;
-	struct bau_payload_queue_entry *pqp_malloc;
 	struct bau_control *bcp;
 
 	pqp = kmalloc_node((DEST_Q_SIZE + 1)
 			   * sizeof(struct bau_payload_queue_entry),
 			   GFP_KERNEL, node);
 	BUG_ON(!pqp);
-	pqp_malloc = pqp;
 
 	cp = (char *)pqp + 31;
 	pqp = (struct bau_payload_queue_entry *)(((unsigned long)cp >> 5) << 5);
-- 
1.7.5.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ