Quentin LAMBERT

Articles de cet auteur

ASoC: fsi: Deletion of unnecessary checks before the function call « clk_disable »

Author: Markus Elfring <elfring@users.sourceforge.net> The clk_disable() 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: Mark Brown — sound/soc/sh/fsi.c | 9 +++—— 1 file changed, 3 insertions(+), 6 deletions(-)   diff …

Lire la suite

of: Delete unnecessary check before calling « of_node_put() »

Author: Markus Elfring <elfring@users.sourceforge.net> The of_node_put() 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: Grant Likely — drivers/of/unittest.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff …

Lire la suite

lustre: Deletion of unnecessary checks before three function calls

Author: Markus Elfring <elfring@users.sourceforge.net> The functions free_ll_remote_perm(), free_rmtperm_hash() and iput() test whether their argument is NULL and then return immediately. Thus the test around their calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/llite/remote_perm.c | 5 ++— drivers/staging/lustre/lustre/llite/statahead.c | 3 +– 2 files …

Lire la suite

[media] mn88473: Remove uneeded check before release_firmware()

Author: Markus Elfring <elfring@users.sourceforge.net> The release_firmware() 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: Mauro Carvalho Chehab — drivers/staging/media/mn88473/mn88473.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   …

Lire la suite

ALSA: dice: fix semicolon.cocci warnings

Author: Fengguang Wu <fengguang.wu@intel.com> sound/firewire/dice/dice-transaction.c:34:2-3: Unneeded semicolon Removes unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Takashi Sakamoto Signed-off-by: Fengguang Wu Signed-off-by: Takashi Iwai — sound/firewire/dice/dice-transaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/sound/firewire/dice/dice-transaction.c b/sound/firewire/dice/dice-transaction.c index a9b98e0..1fe304c 100644 — a/sound/firewire/dice/dice-transaction.c +++ b/sound/firewire/dice/dice-transaction.c @@ -31,7 +31,7 @@ static u64 get_subaddr(struct snd_dice *dice, …

Lire la suite

[media] lirc_zilog: Deletion of unnecessary checks before vfree()

Author: Markus Elfring <elfring@users.sourceforge.net> The vfree() function performs also input parameter validation. 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: Mauro Carvalho Chehab — drivers/staging/media/lirc/lirc_zilog.c | 6 ++—- 1 file changed, 2 insertions(+), 4 deletions(-)   diff –git a/drivers/staging/media/lirc/lirc_zilog.c b/drivers/staging/media/lirc/lirc_zilog.c index …

Lire la suite

dmaenegine: Delete a check before free_percpu()

Author: Markus Elfring <elfring@users.sourceforge.net> The free_percpu() 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: Vinod Koul — drivers/dma/dmaengine.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff …

Lire la suite

thermal: int3403: Delete a check before thermal_zone_device_unregister()

Author: Markus Elfring <elfring@users.sourceforge.net> The thermal_zone_device_unregister() 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: Zhang Rui — drivers/thermal/int340x_thermal/int3403_thermal.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff …

Lire la suite

[media] V4L2: Deletion of an unnecessary check before the function call « vb2_put_vma »

Author: Markus Elfring <elfring@users.sourceforge.net> The vb2_put_vma() 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 Acked-by: Marek Szyprowski Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab — drivers/media/v4l2-core/videobuf2-vmalloc.c | 3 +– 1 file …

Lire la suite

[media] ddbridge: remove unneeded check before dvb_unregister_device()

Author: Markus Elfring <elfring@users.sourceforge.net> The dvb_unregister_device() 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: Mauro Carvalho Chehab — drivers/media/pci/ddbridge/ddbridge-core.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   …

Lire la suite

BtrLinux
Résumé de la politique de confidentialité

Ce site utilise des cookies afin que nous puissions vous fournir la meilleure expérience utilisateur possible. Les informations sur les cookies sont stockées dans votre navigateur et remplissent des fonctions telles que vous reconnaître lorsque vous revenez sur notre site Web et aider notre équipe à comprendre les sections du site que vous trouvez les plus intéressantes et utiles.