Commit 308a878210cde6ab19df9f392c24db53ad6f56bf

Authored by Russ Anderson
Committed by Tony Luck
1 parent cbf283c048

[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>

Showing 1 changed file with 1 additions and 3 deletions Side-by-side Diff

include/asm-ia64/sn/sn_sal.h
... ... @@ -8,7 +8,7 @@
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  
15 15  
... ... @@ -705,10 +705,8 @@
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);