linux-stable/scripts/coccinelle
Li Zhijian 36f99de1d7 coccinelle: device_attr_show: Remove useless expression STR
[ Upstream commit 173f6cd384 ]

Commit ff82e84e80 ("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: ff82e84e80 ("coccinelle: device_attr_show: simplify patch case")
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:17:29 -04:00
..
api coccinelle: device_attr_show: Remove useless expression STR 2024-03-26 18:17:29 -04:00
free update Coccinelle URL 2022-08-07 21:30:36 +02:00
iterators update Coccinelle URL 2022-08-07 21:30:36 +02:00
locks update Coccinelle URL 2022-08-07 21:30:36 +02:00
misc update Coccinelle URL 2022-08-07 21:30:36 +02:00
null update Coccinelle URL 2022-08-07 21:30:36 +02:00
tests update Coccinelle URL 2022-08-07 21:30:36 +02:00