dcdbas: remove a redundant smi_data_buf_free in dcdbas_exit
authorAxel Lin <axel.lin@gmail.com>
Mon, 5 Jul 2010 01:35:47 +0000 (09:35 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 5 Aug 2010 20:53:34 +0000 (13:53 -0700)
commite3ed249af8cb2f73fc6ef5494d2ddef43fb0ff19
tree929b78904d87e976beaad97fe11d85934b8322a7
parent5b232f753a842fa66eab86e51dc76e3929d853af
dcdbas: remove a redundant smi_data_buf_free in dcdbas_exit

smi_data_buf_free is called twice in current implementation.
The second call simply return because smi_data_buf is set to NULL in first call.
This patch removes the second smi_data_buf_free call.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/firmware/dcdbas.c