Quentin LAMBERT

Articles de cet auteur

staging: rtl8188eu: Use kcalloc instead of kzalloc.

Author: Navya Sri Nizamkari <navyasri.tech@gmail.com> This patch uses kcalloc instead of kzalloc function. A coccinelle script was used to make this change. Signed-off-by: Navya Sri Nizamkari Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8188eu/core/rtw_xmit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)   diff –git a/drivers/staging/rtl8188eu/core/rtw_xmit.c b/drivers/staging/rtl8188eu/core/rtw_xmit.c index 7a71df1..7ed60ab 100644 — a/drivers/staging/rtl8188eu/core/rtw_xmit.c +++ b/drivers/staging/rtl8188eu/core/rtw_xmit.c @@ -1634,7 …

Lire la suite

Staging: rtl8188eu: Remove redundant local variable

Author: Somya Anand <somyaanand214@gmail.com> This patch removes a redundant variable « val » and adds inline return statements. It also adds a default case to the switch statement which returns 0 to keep the logic intact. It also removes a redundant variable « inx » and adds inline return statements. This issue is identified by the following coccinelle script. …

Lire la suite

drivers: staging: iio: meter: Removed unnecessary variable

Author: Tina Johnson <tinajohnson.1234@gmail.com> Variable ret is used only to store the return value. Hence ret is removed and the return statement modified. Coccinelle was used to detect such removable variables: @rule1@ identifier ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Tina Johnson Signed-off-by: Greg Kroah-Hartman — drivers/staging/iio/meter/ade7854-spi.c | 6 +—– 1 …

Lire la suite

drivers: staging: iio: meter: Removed unnecessary variable

Author: Tina Johnson <tinajohnson.1234@gmail.com> Variable ret is used only to store the return value. Hence ret is removed and the return statement modified. Coccinelle was used to detect such removable variables: @rule1@ identifier ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Tina Johnson Signed-off-by: Greg Kroah-Hartman — drivers/staging/iio/meter/ade7854-i2c.c | 5 +—- 1 …

Lire la suite

drivers: staging: iio: meter: Removed unnecessary variable

Author: Tina Johnson <tinajohnson.1234@gmail.com> Variable ret is used only to store the error code to be returned. Hence use of ret is removed and the return statement modified. Coccinelle was used to prepare the patch: @rule1@ identifier ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Tina Johnson Signed-off-by: Greg Kroah-Hartman — drivers/staging/iio/meter/ade7758_ring.c …

Lire la suite

drivers: staging: iio: meter: Removed unnecessary variable

Author: Tina Johnson <tinajohnson.1234@gmail.com> Variable len is used only to store the return value. Hence len is removed and the return statement modified. Coccinelle was used to detect such removable variables: @rule1@ identifier ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Tina Johnson Signed-off-by: Greg Kroah-Hartman — drivers/staging/iio/meter/ade7758_core.c | 5 ++— 1 …

Lire la suite

drivers: staging: iio: accel: Removed unnecessary variable

Author: Tina Johnson <tinajohnson.1234@gmail.com> Variable len is used only to store the return value. Hence len is removed and the return statement modified. Coccinelle was used to detect such removable variables: @rule1@ identifier ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Tina Johnson Signed-off-by: Greg Kroah-Hartman — drivers/staging/iio/accel/sca3000_core.c | 6 ++—- 1 …

Lire la suite

Staging rtl8172: Remove unnecessary typecast

Author: Vatika Harlalka <vatikaharlalka@gmail.com> Using addressof and then casting to the original type is unneeded. So these casts can be removed. Issue detected via Coccinelle script. Signed-off-by: Vatika Harlalka Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8712/hal_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/drivers/staging/rtl8712/hal_init.c b/drivers/staging/rtl8712/hal_init.c index 324da34..0a1c631 100644 — a/drivers/staging/rtl8712/hal_init.c +++ …

Lire la suite

drivers: staging: rtl8723au: hal: Removed unnecessary parentheses

Author: Tina Johnson <tinajohnson.1234@gmail.com> Parentheses around the right side of an assignment statement are unnecessary and hence removed. Coccinelle was used to produce the patch: @rule1@ identifier x,y; constant c; @@ ( x = -( y > c -) ; | x = -( y + c -) ; | x = -( y – …

Lire la suite

drivers: staging: rtl8723au: core: Removed unnecessary parentheses

Author: Tina Johnson <tinajohnson.1234@gmail.com> Parentheses around the right side of an assignment statement are unnecessary and hence removed. Coccinelle was used to produce the patch: @rule1@ identifier x,y; constant c; @@ ( x = -( y > c -) ; | x = -( y + c -) ; | x = -( y – …

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.