Quentin LAMBERT

Articles de cet auteur

netfilter: Deletion of unnecessary checks before two function calls

Author: Markus Elfring <elfring@users.sourceforge.net> The functions free_percpu() and module_put() test whether their argument is NULL and then return 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: Julian Anastasov Acked-by: Simon Horman Signed-off-by: Pablo Neira Ayuso — net/netfilter/ipvs/ip_vs_ctl.c | 3 +– …

Lire la suite

net: pktgen: Deletion of an unnecessary check before the function call « proc_remove »

Author: Markus Elfring <elfring@users.sourceforge.net> The proc_remove() 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: David S. Miller — net/core/pktgen.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   …

Lire la suite

PCI: layerscape: Fix platform_no_drv_owner.cocci warnings

Author: Julia Lawall <julia.lawall@lip6.fr> No need to set .owner here. The core will do it. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Julia Lawall Signed-off-by: Bjorn Helgaas — drivers/pci/host/pci-layerscape.c | 1 – 1 file changed, 1 deletion(-)   diff –git a/drivers/pci/host/pci-layerscape.c b/drivers/pci/host/pci-layerscape.c index 6697b1a..68c9e5e 100644 — a/drivers/pci/host/pci-layerscape.c +++ b/drivers/pci/host/pci-layerscape.c @@ -167,7 +167,6 @@ MODULE_DEVICE_TABLE(of, ls_pcie_of_match); static struct platform_driver …

Lire la suite

udf: Deletion of unnecessary checks before the function call « iput »

Author: Markus Elfring <elfring@users.sourceforge.net> The iput() 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: Jan Kara — fs/udf/super.c | 6 ++—- 1 file changed, 2 insertions(+), 4 deletions(-)   diff …

Lire la suite

NFS: Deletion of unnecessary checks before the function call « nfs_put_client »

Author: Markus Elfring <elfring@users.sourceforge.net> The nfs_put_client() 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: Trond Myklebust — fs/nfs/filelayout/filelayoutdev.c | 3 +– fs/nfs/nfs4client.c | 15 +++++———- 2 files changed, 6 insertions(+), …

Lire la suite

GFS2: Deletion of unnecessary checks before two function calls

Author: Markus Elfring <elfring@users.sourceforge.net> The functions iput() and put_pid() test whether their argument is NULL and then return 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: Steven Whitehouse — fs/gfs2/glock.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-) …

Lire la suite

ASoC: omap-mcbsp: Deletion of an unnecessary check before the function call « kfree »

Author: Markus Elfring <elfring@users.sourceforge.net> The kfree() 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: Jarkko Nikula Signed-off-by: Mark Brown — sound/soc/omap/mcbsp.c | 3 +– 1 file changed, 1 insertion(+), 2 …

Lire la suite

ALSA: powermac: Deletion of an unnecessary check before the function call « pci_dev_put »

Author: Markus Elfring <elfring@users.sourceforge.net> The pci_dev_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: Takashi Iwai — sound/ppc/pmac.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff …

Lire la suite

ALSA: hdsp: Deletion of an unnecessary check before the function call « release_firmware »

Author: Markus Elfring <elfring@users.sourceforge.net> The release_firmware() function tests whether its argument is NULL and then return 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/pci/rme9652/hdsp.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff …

Lire la suite

ALSA: lola: Deletion of an unnecessary check before the function call « 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: Takashi Iwai — sound/pci/lola/lola_mixer.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff –git a/sound/pci/lola/lola_mixer.c b/sound/pci/lola/lola_mixer.c index 782f4d8..e7fe15d …

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.