module-card-restore: Remove "version" from internal entry struct
authorDavid Henningsson <david.henningsson@canonical.com>
Tue, 17 Nov 2015 14:10:36 +0000 (15:10 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Sun, 22 Nov 2015 02:59:32 +0000 (04:59 +0200)
commitbea37613ceda60c6843e2afc5e7c5859dbe570c1
tree5cec5b715307c32fae4edc99c0e002220542ffe0
parente87100d41ef6d14f8dc7f803582191d9f8d8f183
module-card-restore: Remove "version" from internal entry struct

If we always write entries of the latest version, we can simplify
code a little by only handling old versions in the "entry_read"
function and assume we have the latest version everywhere else.

Suggested-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
src/modules/module-card-restore.c