Simplify get_next_write in the partial write code

Suggested by Michael Karcher.

Corresponding to flashrom svn r1246.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Michael Karcher <flashrom@mkarcher.dialup.fu-berlin.de>
1 file changed