Skip to content

Commit ebc9bee

Browse files
committed
Merge tag 'cocci-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux
Pull coccinelle update from Julia Lawall: "Simplify the device_attr_show semantic patch Also removes an unused variable warning" * tag 'cocci-6.9-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux: coccinelle: device_attr_show: Remove useless expression STR
2 parents 26bbcd6 + 173f6cd commit ebc9bee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/coccinelle/api/device_attr_show.cocci

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ ssize_t show(struct device *dev, struct device_attribute *attr, char *buf)
2828

2929
@rp depends on patch@
3030
identifier show, dev, attr, buf;
31-
expression BUF, SZ, FORMAT, STR;
31+
expression BUF, SZ, FORMAT;
3232
@@
3333

3434
ssize_t show(struct device *dev, struct device_attribute *attr, char *buf)

0 commit comments

Comments
 (0)