Skip to content
Commit 173f6cd3 authored by Li Zhijian's avatar Li Zhijian Committed by Julia Lawall
Browse files

coccinelle: device_attr_show: Remove useless expression STR

Commit ff82e84e ("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: ff82e84e

 ("coccinelle: device_attr_show: simplify patch case")
Signed-off-by: default avatarLi Zhijian <lizhijian@fujitsu.com>
Signed-off-by: default avatarJulia Lawall <Julia.Lawall@inria.fr>
parent 6613476e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment