Quentin LAMBERT

Articles de cet auteur

HID: picoLCD: Deletion of unnecessary checks before three function calls

Author: Markus Elfring <elfring@users.sourceforge.net> The functions backlight_device_unregister(), lcd_device_unregister() and rc_unregister_device() 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 Reviewed-by: Bruno Prémont Signed-off-by: Jiri Kosina — drivers/hid/hid-picolcd_backlight.c | 3 +– drivers/hid/hid-picolcd_cir.c | 3 …

Lire la suite

drm/vmwgfx: Deletion of an unnecessary check before the function call « vfree »

Author: Markus Elfring <elfring@users.sourceforge.net> The vfree() function performes 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 Reviewed-by: Thierry Reding Signed-off-by: Dave Airlie — drivers/gpu/drm/vmwgfx/vmwgfx_drv.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff –git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c …

Lire la suite

drm/udl: Deletion of an unnecessary check before the function call « vunmap »

Author: Markus Elfring <elfring@users.sourceforge.net> The vunmap() function performes 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 Reviewed-by: Thierry Reding Signed-off-by: Dave Airlie — drivers/gpu/drm/udl/udl_gem.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff –git a/drivers/gpu/drm/udl/udl_gem.c …

Lire la suite

drm/tilcdc: Deletion of an unnecessary check before the function call « drm_fbdev_cma_hotplug_event »

Author: Markus Elfring <elfring@users.sourceforge.net> The drm_fbdev_cma_hotplug_event() 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 Reviewed-by: Thierry Reding Signed-off-by: Dave Airlie — drivers/gpu/drm/tilcdc/tilcdc_drv.c | 3 +– 1 file changed, 1 insertion(+), 2 …

Lire la suite

drm/edid: 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 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 Reviewed-by: Thierry Reding Signed-off-by: Dave Airlie — drivers/gpu/drm/drm_edid_load.c | 3 +– 1 file changed, 1 insertion(+), 2 …

Lire la suite

EDAC: Delete unnecessary check before calling 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 before the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Link: http://lkml.kernel.org/r/546CB20D.4070808@users.sourceforge.net [ Boris: commit message. ] Signed-off-by: Borislav Petkov — drivers/edac/i3000_edac.c | 3 +– drivers/edac/i3200_edac.c | …

Lire la suite

char: tpm: Deletion of unnecessary checks before the function call « tpm_dev_vendor_release »

Author: Markus Elfring <elfring@users.sourceforge.net> The tpm_dev_vendor_release() 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: Peter Huewe — drivers/char/tpm/tpm_i2c_atmel.c | 3 +– drivers/char/tpm/tpm_i2c_nuvoton.c | 3 +– 2 files changed, 2 insertions(+), …

Lire la suite

drbd: Deletion of an unnecessary check before the function call « lc_destroy »

Author: Markus Elfring <elfring@users.sourceforge.net> The lc_destroy() 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: Roland Kammerer Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg Signed-off-by: Jens Axboe — drivers/block/drbd/drbd_nl.c | 3 +– …

Lire la suite

firmware class: Deletion of an unnecessary check before the function call « vunmap »

Author: Markus Elfring <elfring@users.sourceforge.net> The vunmap() function performes 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: Greg Kroah-Hartman — drivers/base/firmware_class.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff –git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c index 9962744..58470c3 …

Lire la suite

netlink: Deletion of an unnecessary check before the function call « __module_get »

Author: Markus Elfring <elfring@users.sourceforge.net> The __module_get() 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/netlink/af_netlink.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.