Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[IA64] Remove unused variable in sn_sal.h

cnodeid was being set but not used. The dead code was
left over from a previous version that grabbed a per node lock.

Signed-off-by: Russ Anderson (rja@sgi.com)
Signed-off-by: Tony Luck <tony.luck@intel.com>

authored by

Russ Anderson and committed by
Tony Luck
308a8782 cbf283c0

+1 -3
+1 -3
include/asm-ia64/sn/sn_sal.h
··· 8 8 * License. See the file "COPYING" in the main directory of this archive 9 9 * for more details. 10 10 * 11 - * Copyright (c) 2000-2005 Silicon Graphics, Inc. All rights reserved. 11 + * Copyright (c) 2000-2006 Silicon Graphics, Inc. All rights reserved. 12 12 */ 13 13 14 14 ··· 705 705 sn_change_memprotect(u64 paddr, u64 len, u64 perms, u64 *nasid_array) 706 706 { 707 707 struct ia64_sal_retval ret_stuff; 708 - int cnodeid; 709 708 unsigned long irq_flags; 710 709 711 - cnodeid = nasid_to_cnodeid(get_node_number(paddr)); 712 710 local_irq_save(irq_flags); 713 711 ia64_sal_oemcall_nolock(&ret_stuff, SN_SAL_MEMPROTECT, paddr, len, 714 712 (u64)nasid_array, perms, 0, 0, 0);