platform/x86: hp-bioscfg: Remove unused obj in hp_add_other_attributes()
authorHarshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Mon, 13 Nov 2023 20:07:40 +0000 (12:07 -0800)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Wed, 15 Nov 2023 12:45:41 +0000 (14:45 +0200)
commit92c47597db7d8fb500a4b04ebd457ec7360279cc
tree710a6b6be811223e17d9ad206bb4845738ebaabe
parentf40f939917b2b4cbf18450096c0ce1c58ed59fae
platform/x86: hp-bioscfg: Remove unused obj in hp_add_other_attributes()

acpi_object *obj is unused in this function, so delete it, also
delete a unnecessary kfree(obj);

Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20231113200742.3593548-4-harshit.m.mogalapalli@oracle.com
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/hp/hp-bioscfg/bioscfg.c