History

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

Linus Torvalds committed 2 years ago

Commit ebc9bee2 parents 26bbcd6 173f6cd1 file · +1 −1Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/coccinelle/api/device_attr_show.cocci+1−1
@@ -28,7 +28,7 @@ ssize_t show(struct device *dev, struct device_attribute *attr, char *buf) · 27 unmodified lines
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)