Tag: 492a7ea0a6d3cc9c16ad5f8af832ed4278225b2e

ALSA: i2sbus: Deletion of unnecessary checks before the function call “release_and_free_resource”

Author: Markus Elfring <elfring@users.sourceforge.net> The release_and_free_resource() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Takashi Iwai — sound/aoa/soundbus/i2sbus/core.c | 6 ++—- 1 file changed, 2 insertions(+), 4 deletions(-)   diff …

Continue reading