WSL2-Linux-Kernel/drivers/staging/speakup
Ilia Mirkin 39dd3e5d7b staging: speakup: Remove NULL check before kfree
This patch was generated by the following semantic patch:
// <smpl>
@@ expression E; @@
- if (E != NULL) { kfree(E); }
+ kfree(E);

@@ expression E; @@
- if (E != NULL) { kfree(E); E = NULL; }
+ kfree(E);
+ E = NULL;
// </smpl>

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:57:36 -07:00
..
DefaultKeyAssignments
Kconfig
Makefile
TODO
buffers.c
devsynth.c
fakekey.c fakekey: Simplify speakup_fake_key_pressed through this_cpu_ops 2010-12-17 15:07:19 +01:00
i18n.c
i18n.h
keyhelp.c Staging: speakup: fix an out-of-bounds error. 2011-02-23 14:39:09 -08:00
kobjects.c Staging: speakup: &&/|| confusion in silent_store() 2011-01-20 12:06:07 -08:00
main.c staging: speakup: Remove NULL check before kfree 2011-03-14 11:57:36 -07:00
selection.c
serialio.c
serialio.h
speakup.h
speakup_acnt.h
speakup_acntpc.c
speakup_acntsa.c
speakup_apollo.c
speakup_audptr.c
speakup_bns.c
speakup_decext.c
speakup_decpc.c
speakup_dectlk.c
speakup_dtlk.c
speakup_dtlk.h
speakup_dummy.c
speakup_keypc.c
speakup_ltlk.c
speakup_soft.c
speakup_spkout.c
speakup_txprt.c
speakupmap.h
speakupmap.map
spk_priv.h
spk_priv_keyinfo.h staging: speakup: enlosed macros with complex values in parenthesis 2011-02-04 13:01:02 -08:00
spk_types.h staging: speakup: enlosed macros with complex values in parenthesis 2011-02-04 13:01:02 -08:00
spkguide.txt
synth.c
thread.c
varhandlers.c