]> git.itanic.dy.fi Git - linux-stable/commit
coccinelle: device_attr_show: Remove useless expression STR
authorLi Zhijian <lizhijian@fujitsu.com>
Sun, 18 Feb 2024 08:00:54 +0000 (16:00 +0800)
committerJulia Lawall <Julia.Lawall@inria.fr>
Sun, 18 Feb 2024 08:19:35 +0000 (09:19 +0100)
commit173f6cd384ae27bb57af8cc5201b4f4a137d6e55
tree68d17029a6607eb685d218b3f85ac159b7376d71
parent6613476e225e090cc9aad49be7fa504e290dd33d
coccinelle: device_attr_show: Remove useless expression STR

Commit ff82e84e80fc ("coccinelle: device_attr_show: simplify patch case")
simplifies the patch case, as a result, STR is no longer needed.

This also helps to fix below coccicheck warning:
> warning: rp: metavariable STR not used in the - or context code

CC: Julia Lawall <Julia.Lawall@inria.fr>
CC: Nicolas Palix <nicolas.palix@imag.fr>
CC: cocci@inria.fr
Fixes: ff82e84e80fc ("coccinelle: device_attr_show: simplify patch case")
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
scripts/coccinelle/api/device_attr_show.cocci