diff options
| author | Colin Ian King <[email protected]> | 2024-11-07 11:35:43 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <[email protected]> | 2024-11-12 09:47:40 +0000 |
| commit | 4ceb681f1822819f78b747ddc189479fead43be2 (patch) | |
| tree | f9e90e33f2d76334a3b382d4fe59fbba048379eb /drivers/platform/x86/intel/pmt/class.c | |
| parent | MAINTAINERS: Update ISHTP ECLITE maintainer entry (diff) | |
| download | kernel-4ceb681f1822819f78b747ddc189479fead43be2.tar.gz kernel-4ceb681f1822819f78b747ddc189479fead43be2.zip | |
platform/x86: hp: hp-bioscfg: remove redundant if statement
The if statement performs the same action if the strcmp result is
true or false since there is identical code on both branches. The
if statement is redundant and can be replaced with just one call
to sysfs_remove_group.
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions
