efivarfs: Replace magic number with sizeof(attributes)
authorMatt Fleming <matt.fleming@intel.com>
Mon, 22 Oct 2012 14:23:29 +0000 (15:23 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 30 Oct 2012 10:39:26 +0000 (10:39 +0000)
Seeing "+ 4" littered throughout the functions gets a bit
confusing. Use "sizeof(attributes)" which clearly explains what
quantity we're adding.

Acked-by: Jeremy Kerr <jeremy.kerr@canonical.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>

No differences found