Quentin LAMBERT

Author's posts

ueagle-atm: Delete unnecessary checks 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 Signed-off-by: Greg Kroah-Hartman — drivers/usb/atm/ueagle-atm.c | 4 ++– 1 file changed, 2 insertions(+), 2 deletions(-)   diff …

Continue reading

USB: appledisplay: Deletion of a check before backlight_device_unregister()

Author: Markus Elfring <elfring@users.sourceforge.net> The backlight_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: Greg Kroah-Hartman — drivers/usb/misc/appledisplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff …

Continue reading

driver core: Delete an unnecessary check before the function call “put_device”

Author: Markus Elfring <elfring@users.sourceforge.net> The put_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: Greg Kroah-Hartman — drivers/base/core.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff …

Continue reading

drivers/macintosh: Delete an unnecessary check before the function call “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: Benjamin Herrenschmidt — drivers/macintosh/smu.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff …

Continue reading

hostap: Delete 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 Signed-off-by: Kalle Valo — drivers/net/wireless/hostap/hostap_ap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff …

Continue reading

orinoco: Delete 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 Signed-off-by: Kalle Valo — drivers/net/wireless/orinoco/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff …

Continue reading

ath10k: delete unnecessary checks 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 Signed-off-by: Kalle Valo — drivers/net/wireless/ath/ath10k/core.c | 8 ++++—- 1 file changed, 4 insertions(+), 4 deletions(-)   diff …

Continue reading

ath9k: Delete an unnecessary check before the function call “relay_close”

Author: Markus Elfring <elfring@users.sourceforge.net> The relay_close() 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: Kalle Valo — drivers/net/wireless/ath/ath9k/common-spectral.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff …

Continue reading

udf: remove bool assignment to 0/1

Author: Fabian Frederick <fabf@skynet.be> Fix the following coccinelle warnings: fs/udf/inode.c:753:2-13: WARNING: Assignment of bool to 0/1 fs/udf/inode.c:795:2-13: WARNING: Assignment of bool to 0/1 Signed-off-by: Fabian Frederick Signed-off-by: Jan Kara — fs/udf/inode.c | 4 ++– 1 file changed, 2 insertions(+), 2 deletions(-)   diff –git a/fs/udf/inode.c b/fs/udf/inode.c index 7b72b7d..a445d59 100644 — a/fs/udf/inode.c +++ b/fs/udf/inode.c @@ -750,7 …

Continue reading

cw1200: Delete 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 Signed-off-by: Kalle Valo — drivers/net/wireless/cw1200/fwio.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   diff …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.