Quentin LAMBERT

Articles de cet auteur

Staging: rtl8188eu: core: Remove variable that is not very useful.

Author: Heena Sirwani <heenasirwani@gmail.com> The following patch removes a variable which is not very useful using coccinelle. The following semaintic patch was used: @@ identifier ret; @@ -int ret = 0; … when != ret when strict -return ret; +return 0; Signed-off-by: Heena Sirwani Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8188eu/core/rtw_ap.c | 13 +++++——– 1 file changed, …

Lire la suite

Staging: comedi: Compressed two lines of code into one.

Author: Heena Sirwani <heenasirwani@gmail.com> The following patch compressed two lines of code into one using coccinelle and removed an unused variable. The semantic patch used is as follows: @@ expression ret; identifier f; @@ -ret = +return f(…); -return ret; Signed-off-by: Heena Sirwani Signed-off-by: Greg Kroah-Hartman — drivers/staging/comedi/comedi_fops.c | 5 +—- 1 file changed, 1 …

Lire la suite

Staging: comedi: drivers: Compressed two lines of code into one.

Author: Heena Sirwani <heenasirwani@gmail.com> The following patch compresses two lines of code into one using coccinelle and removes an unused variable. The following semantic patch was used: @@ expression ret; identifier f; @@ -ret = +return f(…); -return ret; Signed-off-by: Heena Sirwani Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/staging/comedi/drivers/mite.c | 5 +—- 1 file …

Lire la suite

Staging: dgnc: Compress two lines of code into one.

Author: Heena Sirwani <heenasirwani@gmail.com> The following patch merges two lines of code into one using coccinelle and removes unused variables. The semantic patch used is as follows: @@ expression ret; identifier f; @@ -ret = +return f(…); -return ret; Signed-off-by: Heena Sirwani Signed-off-by: Greg Kroah-Hartman — drivers/staging/dgnc/dgnc_cls.c | 6 ++—- 1 file changed, 2 insertions(+), …

Lire la suite

Staging: lustre: Replace non-standard spinlock macro definations

Author: Vaishali Thakkar <vthakkar1994@gmail.com> This patch replaces non-standard spin lock macro with standard linux function. This is done using Coccinelle and semantic patch used is as follows: @@ expression x; @@ – TREE_READ_LOCK_IRQ(x) + spin_lock_irq(&(x)->tree_lock) @@ expression x; @@ – TREE_READ_UNLOCK_IRQ(x) + spin_unlock_irq(&(x)->tree_lock) Also semantic patch result is modified by droping ->, inner & and …

Lire la suite

Staging: lustre: Replace non-standard spin-lock’s macro

Author: Vaishali Thakkar <vthakkar1994@gmail.com> This patch replaces non-standard spin lock macro with standard linux function. This is done using Coccinelle and semantic patch used is as follows: @@ expression x; @@ – TREE_READ_LOCK_IRQ(x) + spin_lock_irq(&x->tree_lock) @@ expression x; @@ – TREE_READ_UNLOCK_IRQ(x) + spin_unlock_irq(&x->tree_lock) Signed-off-by: Vaishali Thakkar Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/staging/lustre/lustre/llite/dir.c | …

Lire la suite

ASoC: Intel: byt-rt5640: fix coccinelle warnings

Author: Fengguang Wu <fengguang.wu@intel.com> sound/soc/intel/byt-rt5640.c:140:2-3: Unneeded semicolon Removes unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci Signed-off-by: Fengguang Wu Signed-off-by: Mark Brown — sound/soc/intel/byt-rt5640.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/sound/soc/intel/byt-rt5640.c b/sound/soc/intel/byt-rt5640.c index 88ad57f..e03abdf 100644 — a/sound/soc/intel/byt-rt5640.c +++ b/sound/soc/intel/byt-rt5640.c @@ -159,7 +159,7 @@ static int byt_rt5640_init(struct snd_soc_pcm_runtime *runtime) default: custom_map = …

Lire la suite

Staging: media: davinci_vpfe: Remove unused variable

Author: Mahati Chamarthy <mahati.chamarthy@gmail.com> This patch removes a variable which has never been used. The following Coccinelle semantic patch was used to make this transformation: @@ type T; identifier i; constant C; @@ – T i; Signed-off-by: Mahati Chamarthy Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/staging/media/davinci_vpfe/dm365_isif.c | 2 — 1 file changed, 2 deletions(-) …

Lire la suite

Staging: rtl8192e: Remove unused variable

Author: Mahati Chamarthy <mahati.chamarthy@gmail.com> This patch removes a variable which has never been used. The following Coccinelle semantic patch was used to make this transformation: @@ type T; identifier i; constant C; @@ – T i; Signed-off-by: Mahati Chamarthy Acked-by: Julia Lawall Signed-off-by: Greg Kroah-Hartman — drivers/staging/rtl8192e/rtllib_softmac_wx.c | 2 — 1 file changed, 2 deletions(-) …

Lire la suite

Staging: rtl8192e: rtl8192e: Remove assigned unused variable

Author: Mahati Chamarthy <mahati.chamarthy@gmail.com> This patch removes an initialized variable which has never been used. The following Coccinelle semantic patch was used to make this transformation: @e@ identifier i; position p; type T; @@ extern T i@p; @@ type T; identifier i; constant C; position p != e.p; @@ – T i@p; The braces around …

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.