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
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -28,7 +28,7 @@ ssize_t show(struct device *dev, struct device_attribute *attr, char *buf) · 27 unmodified lines | ||
| 28 | 28 | |
| 29 | 29 | @rp depends on patch@ |
| 30 | 30 | identifier show, dev, attr, buf; |
| 31 | −expression BUF, SZ, FORMAT, STR; | |
| 31 | +expression BUF, SZ, FORMAT; | |
| 32 | 32 | @@ |
| 33 | 33 | |
| 34 | 34 | ssize_t show(struct device *dev, struct device_attribute *attr, char *buf) |