diff options
| author | Jaehee Park <[email protected]> | 2022-04-13 00:38:52 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-04-13 08:49:48 +0200 |
| commit | cfb121803d42c51745b386f1747ba2f13215fa92 (patch) | |
| tree | 425f058aee417ad23a6176229a1fc938e5f7c323 /tools/perf/scripts/python | |
| parent | 5a9bdd6fd69b88acbf4e623c77872b4d7d7933dc (diff) | |
staging: greybus: remove empty callback function
Remove the optional remove callback for the soc_codec_dev_gbaudio
structure. The only place it is referenced is
snd_soc_component_remove() which is only called if the sound_component
pointer is non-null. The null function pointers here can be optionally
ommitted. When a sound component is registered this way, the remove
callback is optional. We can safely remove the whole gbcodec_remove
function, which used to be an empty function with a void return type.
Suggested-by: Dan Carpenter <[email protected]>
Signed-off-by: Jaehee Park <[email protected]>
Link: https://lore.kernel.org/r/12037ae2502ad7d0311bcdf2178c3d2156293236.1649824370.git.jhpark1013@gmail.com
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions