diff options
author | Lenny Szubowicz <lszubowi@redhat.com> | 2013-06-28 16:14:11 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-16 21:14:30 +0100 |
commit | bb0145e4e0e6f8112464975795850b3ce00c24f7 (patch) | |
tree | 769879961de52389af7357688d8d6bff9a0e87dc /drivers/firmware/efi/efivars.c | |
parent | 01bcc35baaa09d0dc8ac6f90dfe5b90e0efaa6f9 (diff) |
efivars: If pstore_register fails, free unneeded pstore buffer
This is patch 3/3 of a patch set that cleans up pstore_register failure paths.
If efivars fails to register with pstore, there is no point to keeping
the 4 KB buffer around. It's only used by the pstore read/write routines.
Signed-off-by: Lenny Szubowicz <lszubowi@redhat.com>
Reported-by: Naotaka Hamaguchi <n.hamaguchi@jp.fujitsu.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
(cherry picked from commit 0d838347f1325cebfe8b9341a4b4c1f407022231)
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/firmware/efi/efivars.c')
0 files changed, 0 insertions, 0 deletions