target/rd: simplify the page/offset computation
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 25 Nov 2011 21:18:45 +0000 (22:18 +0100)
committerNicholas Bellinger <nab@linux-iscsi.org>
Tue, 6 Dec 2011 06:00:57 +0000 (06:00 +0000)
commit5bff9e8584fbcdb361dada5a0425724b9e31e608
treea16f405f1165e03f0bf7a8d6053aa772b8545a5d
parent6f21475576dde397cd2580262209d4080fbd5458
target/rd: simplify the page/offset computation

Breakout rd_MEMCPY_do_task() usage of do_div() to tmp value during
rd_request->rd_page assignment.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_rd.c