Skip to content
Snippets Groups Projects
Commit 707f84af authored by Mitchel Humpherys's avatar Mitchel Humpherys
Browse files

lrdp-v2: mm: Remove unused variable

The pfn_offset variable in pfn_to_page_vmemmap is not used.  Remove it.

Change-Id: I9d8379916252c9fa5bef290378f802b82df86a35
parent f3fb4a00
No related branches found
No related tags found
No related merge requests found
# Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
# Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 and
......@@ -140,7 +140,6 @@ def page_to_pfn_vmemmap(ramdump, page):
def pfn_to_page_vmemmap(ramdump, pfn):
mem_map = 0xffffffbc00000000
page_size = ramdump.sizeof('struct page')
pfn_offset = ramdump.phys_offset >> 12
return mem_map + (pfn * page_size)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment