]> git.baikalelectronics.ru Git - kernel.git/commit
/dev/mem: remove the "written" variable in write_kmem()
authorWu Fengguang <fengguang.wu@intel.com>
Tue, 15 Dec 2009 01:58:10 +0000 (17:58 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2009 16:53:11 +0000 (08:53 -0800)
commit80ad89a0ceb3b16d0f670751ef9875c4569fb4d3
treed8f2b5714161036236b8754805f97960bf5bbe99
parent7fabaddd09ab32a7c0c08da80315758a2245189d
/dev/mem: remove the "written" variable in write_kmem()

Also rename "len" to "sz". No behavior change.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Avi Kivity <avi@qumranet.com>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/mem.c